How to match any character using Java RegEx?

Posted by Andre Scott | Updated on

Want to match any character using Java RegEx? The meta character “.” in java regular expression matches any character (single) it could be the alphabet, number or, any special character.

Output


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers