Regex Tester
Test regular expressions with live matching, highlighting, and a match list.
Frequently Asked Questions
What do the flags mean?
g finds all matches, i makes matching case-insensitive, m makes ^ and $ match the start and end of each line, and s lets . match newlines.
Which regex flavor is used?
JavaScript regular expressions, the same engine used by browsers and Node.js. Patterns written here work directly in JS code.
How are matches shown?
All matches are highlighted inline in your test text, and listed below so you can see exactly what your pattern captures.
Is my pattern or text sent anywhere?
No. Everything runs in your browser. Your regex and text never leave your device.
Related Tools
JSON Formatter
Format, validate, and beautify JSON data with syntax highlighting.
Base64 Encoder/Decoder
Encode and decode text to and from Base64 format.
Hash Generator
Generate MD5, SHA-1, SHA-256, and other hash values from text.
URL Encoder/Decoder
Encode and decode URLs. Handle special characters correctly.