Developer tools

Regex Tester

Write a regular expression and see the matches highlighted as you type, with every capture group listed. You can also preview a replacement.

FreeNo sign-upRuns in your browser
0 views

How to use the regex tester

  1. Type your pattern and tick the flags you need.
  2. Paste the text to test. Matches are highlighted and listed with their groups.
  3. Optionally type a replacement such as $2-$1 to preview the result.

This tool uses the regular expression engine of your browser, which is the JavaScript flavour. Most patterns work the same in other languages, but some features differ. A pattern with nested repetition on long text can be very slow; if the page freezes, simplify the pattern.

Frequently asked questions

Which regex flavour is it?

JavaScript (ECMAScript). Lookbehind and named groups work in modern browsers.

What do the flags mean?

g finds all matches, i ignores case, m makes ^ and $ match at every line, s lets a dot match a newline, u enables full Unicode.

Is my text uploaded?

No. Everything runs in your browser.

More free tools

See all tools

Did this tool help you?Tap the heart to let us know. It takes one second and no account.
Bigland Network IT

Practical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.

Topics

More

Site

© 2026 Bigland Network. All rights reserved.Always test commands on a non-production system first.
Scroll to Top