
The following list provides tools you can use to verify, create, and test regex expressions. There are a few tools available to users who want to verify and test their regex syntax. Therefore, with the above regex expression for finding phone numbers, it would identify a number in the format of 12, 123.123.1234, or 1231231234. Finally, the end of the string is defined by the $. The word boundary assertion is also used at the end of the expression. Group 3 (\b - Lastly, this section is slightly different in that it matches 4 digits instead of three.The domain name is then followed by a period \. Group 2 (+) - Next, the domain name must be matched which can use one or more digits, letters between a-z, periods, and hyphens.The expression is then followed by an sign.


With the regex cheat sheet above, you can dissect and verify what each token within a regex expression actually does. Word Boundary (usually a position between /w and /W)
