Tag Archives: regex

Useful links for Regular Expression (RegEx) in Java

Regular Expression RegEx is one of the unsung heros in application development, it does not have the same appeal as terms like “pattern recognition”. Many developers are not comfortable admitting to customers that they use regular expression for extracting or manipulating data.

Regular expression is more popular among scripting languages like perl or python. Since these languages are usually used for developing internal tools, regular expressions are not a taboo and are freely used.

There are legitimate concerns about using regular expressions in  applications as they introduce dependence on the format of data and hence making your application vulnerable to changes in data format.

But if you know that your data format will not change frequently you can try using regular expressions in your code. If you are interested the following resources are a good place to start.

Reference :

Regular Expression Primer

Regex Patterns in Java


Leave a comment

Filed under Java