Regex Tester
Test regular expressions against sample text and inspect every match and capture group.
How to use
Testing a pattern
Enter a pattern and flags, provide sample text, and matches are highlighted as you type.
- Type the regular expression.
- Select flags such as global or case insensitive.
- Read the highlighted matches and groups.
Frequently asked questions
Which regex flavour is used?
The JavaScript RegExp engine, so it matches how your browser interprets patterns.
Can a pattern freeze the page?
A high match limit protects against runaway patterns and shows a warning if the limit is reached.
Related tools
Text Compare / Diff
Compare two blocks of text and see line level additions, removals and changes.
String Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case and more.
Query String Parser
Parse a URL query string into readable parameters and rebuild it from key value pairs.
UUID / GUID Generator
Generate random version 4 UUIDs and copy them one by one or in bulk.
Hash Generator
Compute MD5, SHA-1, SHA-256 and SHA-512 digests of any text.
Timestamp Converter
Convert between Unix timestamps, ISO 8601 and human readable local dates.