Regular Expression

A Regular Expression (RegEx, regex, regexp, RE, etc.) is a way to search through strings. It helps in doing validation, getting/matching certain pieces of a string, finding and replacing strings and more.

RegEx Format

Built-In JavaScript Functions

Resources

Examples