Regular Expression Tester
Test regular expressions with highlighted matches, capture groups, flags and a replace preview.
Runs on your device Free, no sign-up No watermark
How to use Regex Tester
- 1
Type the pattern and flags.
- 2
Paste test text.
- 3
Check matches and groups.
Good to know
- Uses JavaScript regex rules.
Your privacy: this tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone.
You might also need
All toolsSVG Viewer
Open and preview SVG files.
SVG Optimizer
Smaller SVG files, same drawing.
Image Resizer
Resize photos to exact pixels or social sizes.
Image Cropper
Crop with a box or exact pixels.
Image Rotator
Turn or mirror a photo.
Image Format Converter
Switch between PNG, JPG and WebP.
Image Compressor
Make photos smaller, even to an exact KB limit.
Image Color Picker
Exact colour codes from any spot of a picture.