java regex to match any character to match everything and anything 072214 any character in java This regex should match just about anything, but I have missed some things. Note that a "." usually matches just about anything with most tools, but with java a "." seems to match a much more limited set of characters. [\\w.\\s\\*\\-\\:\\(\\)\\/\\\\\\+\\,\"|\\[\\]=><'`]