Free Regex Tester - Use Online Without Installing
WebTest regular expressions against sample text
Next steps
Tools and guides people use right after this task.
JSON FormatterFormat, beautify, and validate JSONText CleanerRemove extra spaces, blank lines, and duplicate linesBase64 Encoder & DecoderEncode and decode Base64 textURL Encoder & DecoderEncode and decode URL text safely
Related guides
How to Use
- 1Enter a regular expression and flags.
- 2Paste sample text and inspect highlighted matches.
About This Tool
Test regular expressions against sample text. Enter a regular expression and flags.
Good to know
Certain patterns can become very slow on long text. Test potentially untrusted patterns on a small sample first.
Worked Example and Result Check
Try a pattern against sample input and inspect exactly which characters matched.
Add edge cases; passing a few examples does not prove a pattern validates all real data.