Loading…

How to use Regex Tester Advanced

Enter a pattern and toggle flags like g, i and m, then type test text to see matches highlighted, capture groups listed, and an optional replacement preview.

Frequently asked questions

What do the g, i and m flags do?

g finds all matches, i makes matching case-insensitive, and m lets ^ and $ match at line boundaries instead of only the whole string.

What are capture groups?

Parentheses in a pattern capture parts of each match so you can extract or reference them, e.g. (\d{4}) captures a four-digit year.

Which regex flavor is used?

The JavaScript RegExp engine, so syntax matches what runs in browsers and Node.js, including named groups and lookaheads.

More Developer Tools

cURL Builder
Build cURL command from form.
cURL to Code
Convert cURL to JS/Python/PHP/Go.
JWT Debugger
Decode JWT segments and verify.
Chmod Calculator
Symbolic — octal permission grid.
Crontab Guru
Visual cron builder + readable output.
Semver Tools
Validate, compare and range-check semantic versions.
UUID Inspector
Detect UUID version, variant and embedded timestamp.
Basic Auth Generator
Build an HTTP Basic Authorization header from user/pass.
String Escaper
Escape/unescape for JSON, JS, HTML, SQL, Regex and Shell.
ASCII Table
0-127 searchable ASCII reference.
HTML Entities Ref
Search HTML entities quickly.
CSS Units Ref
All CSS units with preview.

← View all Developer ToolsBrowse all 1,100+ tools →