Blog Archives

Regular Expressions in Java

Regular Expression Basics Regular expressions (regex) are an effective way of describing common patterns in strings. For example, all phone numbers in North America have 10 digits; this can be easily described by regular expressions: [0-9]{10}, which matches with 10

Tagged with: ,
Posted in Java