How to use it
- Enter the pattern without surrounding slashes.
- Set flags such as g, i or m.
- Paste the text and read the matches.
JavaScript rules
Regex dialects differ. A pattern that works here may behave differently in .NET, Java or Python.
Slow patterns
Nested repetition such as (a+)+$ can take a very long time and freeze the page. If that happens, reload the page. Input is limited to 100,000 characters and 1,000 matches.
Questions
Are named groups shown?
Yes.
Do I need to double backslashes?
No. Type the pattern itself.