Step by step
How to use Regex Tester
- 1
Enter a JavaScript regular expression, flags, and the sample text to search.
- 2
Run the pattern and adjust it while watching matches and capture groups update.
- 3
Review highlighted matches and captured values before moving the expression into code.