Please, update your browser.

Test your regular expressions

The tool for programmers
Regular Expression
Source String
Replacement String, optional
Flags

See an example and example with named groups. These are examples of gready (match whole string) and lazy (match three occurrences) expressions.

Regexp visualization

NOTE: some regexes can make your browser unresponsive, read about it on Wikipedia.

#RegExp #Regex #JS