Regex Tester
Test a regular expression against sample text and see every match.
2 matches:
Processing happens locally in your browser. Nothing you enter is uploaded.
How It Works
Enter a pattern, optional flags (like g or i), and test text. Matches update instantly, and invalid patterns show a clear error.
Example
The pattern \d+ against "Order #12, order #345" matches "12" and "345".
Frequently Asked Questions
- What do the flags do?
- "g" finds all matches instead of stopping at the first one; "i" makes the match case-insensitive; "m" changes how ^ and $ behave across multiple lines.
- What happens if my pattern is invalid?
- The tool shows a clear error message describing the problem instead of crashing or silently failing.
Related Tools
JSON Formatter
Editor's pickFormat, validate, and beautify JSON with proper indentation.
URL Encoder / Decoder
Editor's pickEncode text for safe use in a URL, or decode a URL-encoded string.
REST API Client
Similar toolSend GET, POST, PUT, PATCH and DELETE requests to any REST API and inspect the response, right in your browser.
Fake Data Generator
Related toolGenerate rows of realistic synthetic test data (names, emails, dates, numbers…) as JSON, CSV, XML, Python, SQL or YAML.
Base64 Encoder / Decoder
Related toolEncode text to Base64, or decode Base64 back to plain text.
Color Converter
Related toolConvert between HEX and RGB color formats.
Related Guides
AI Tools That Pair With This
Part of a Workflow
AI Prompts That Use This
Explain an Error Message
Get a grounded explanation of what's actually causing an error, instead of a generic guess dressed up as a confident answer.
Expliquer une erreur technique
Obtenir une explication réellement fondée sur ce qui cause une erreur, plutôt qu'une supposition générique présentée avec assurance.