← All tools
/tools/regex-studio

Regex Studio

Test JavaScript regular expressions with highlighted matches, captures and replacement.

Settings

Result

Tool usage statistics

Processing happens on your device. When usage statistics are enabled for this tool, actions, settings, entered data and generated results may be sent to the site’s analytics database. You can disable this using Usage statistics below. Normal hosting access logs may still apply.

Checking the service…

Using Regex Studio

Test JavaScript regular expressions with highlighted matches, captures and replacement.

Try it

Try \b[a-z]+\b with the g flag on a short sentence. Capture groups such as $1 can be used in replacements; slow patterns are stopped.

Processing & privacy

Processing happens on your device. When usage statistics are enabled for this tool, actions, settings, entered data and generated results may be sent to the site’s analytics database. You can disable this using Usage statistics below. Normal hosting access logs may still apply.