← Tools

Regex tester

Runs in your browser, nothing uploaded
Input
Without slashes or flags. Enter runs now.
Java and Go patterns are checked, not run. Try in JS runs a translated copy.
Flags

Inline flags such as (?i) are not JavaScript. Try in JS moves them to flags.

Examples

Also runs as you type.

Output JavaScript runs here. Java and Go are checked.

Type a pattern, or load an example, to see portability warnings and matches.