Discover smarter ways to work, create and grow. Explore Free Tools →
Softer Insight Contact Us ↗
✦ FREE ONLINE TOOL

Regular Expression Visual Tester

Test regular expressions against your text, highlight matches, inspect capture groups and replace matching content with this free online regex tester.

Regex Pattern

Enter your regular expression pattern and choose the flags you want to use.

/ g

Quick Regex Templates

Select a ready-made pattern to get started quickly.

Test Text

Enter or paste the text you want to test against your regular expression.

Match Results

Matches are highlighted below. Select global mode to find all matching occurrences.

Total Matches0
Capture Groups0
Pattern StatusReady
Your highlighted text will appear here.
Run a test to see individual matches.

Find and Replace

Replace matching text using a replacement string. Capture references such as $1 and $2 are supported.

This tool uses your browser's JavaScript regular expression engine. Regex syntax and some features may differ between programming languages. All testing happens locally in your browser.