Test regular expressions with real-time match highlighting.
Type your regular expression pattern in the input field between the forward slashes.
Toggle the desired flags and enter or paste the text you want to test against.
See highlighted matches in real time and check the match details table for groups and indices.
A regular expression (regex) is a pattern used to search, match, and extract parts of text. This tester lets you write a regex, run it against sample text, and see every match highlighted in real time, so you can build and debug a pattern without guessing.
Type your pattern and choose flags like global, case-insensitive, and multiline. As you edit, the matches update live, which makes it easy to refine a pattern until it captures exactly what you want and nothing you do not.
Character classes like \d (digit), \w (word character), and \s (whitespace) match types of characters. Quantifiers like * (zero or more), + (one or more), and {2,4} (a range) control repetition. Anchors ^ and $ tie a match to the start or end of a line, and parentheses create capture groups you can pull out of each match.
The global flag finds every match rather than stopping at the first. Ignore case makes the pattern match regardless of upper or lower case. Multiline changes ^ and $ so they match at the start and end of each line instead of the whole string. Combining them is common, for example global plus ignore case to find all occurrences of a word in any casing.
An email-like match is roughly [\w.+-]+@[\w-]+\.[\w.-]+. A number is \d+, and a number with optional decimals is \d+(\.\d+)?. To match a word boundary, use \b, which is handy when you want whole words only. Start from a simple pattern and tighten it as you watch the highlights update.
JSON Formatter
Format, validate, and beautify JSON data with syntax highlighting.
Cron Expression Parser
Parse cron expressions into plain English and preview the next scheduled run times.
CSS Validator
Validate CSS syntax and find common errors like unmatched braces and missing semicolons.
YAML Validator
Validate YAML syntax and check for errors instantly.
JSON Path Tester
Test and validate JSON Path expressions against JSON data.
JSONL Validator
Validate JSON Lines data row by row and convert valid records into a JSON array.