When you want to search for the dot (.) character in a regular expression and not use it as a metacharacter use the following syntax:
String regexPattern = “[.]”;
Principal Software Engineer/Architect, motorcyclist, drummer, and artist
When you want to search for the dot (.) character in a regular expression and not use it as a metacharacter use the following syntax:
String regexPattern = “[.]”;