Regular expressions can be used to find patterns in Strings, useful for validation to ensure that data is in a particular format. Compilers use regular expressions to validate the syntax of programs.

Character Class’

Quantifiers

Examples:

comments powered by Disqus