Regular expression tester
Getting ready…
Getting ready…
Regular expression tester User guide
Instructions
- Use the visible syntax reference to enter an expression without / delimiters and choose flags.
- Enter test text and optionally a replacement using $1 / $&.
- Run the test and inspect highlights, positions, groups and replaced text.
Example
Input / settings
(\d+) · g · A12 B34
Result / checks
12, 34 with group 1
Please note
Text / RegExp / JSON → Text / JSON
- A separate worker is stopped after one second. Up to 2,000 matches and 200,000 input characters.
- Test cases · Save test set