Regex Tester

Test regex with live highlighting. Free online Regex Tester – fast, private and no sign-up.

Loading tool…

Test JavaScript regular expressions against your text with live highlighting. See every match, its position and capture groups, and try replacements with $1-style references.

How to use the Regex Tester

  1. Type or paste your text into the box.
  2. Choose any options you need.
  3. Copy or download the result.

Frequently asked questions

Which regex flavour is used?

The tool uses JavaScript regular expressions, which are very similar to PCRE used by PHP and most languages.

What do the flags mean?

g finds all matches, i ignores case, m makes ^ and $ match each line, s lets . match line breaks and u enables full Unicode.

Is there a limit on how much text I can paste?

There is no fixed limit. Several megabytes of text work fine, although very large texts may take a moment on older devices.

Is the Regex Tester free to use?

Yes. The Regex Tester on BookmarkBuild is completely free, with no hidden charges, no trial period and no watermark.

Do I need to create an account?

No. You can use the tool straight away without signing up or logging in.

Is my data stored or sent anywhere?

No. Everything you enter is processed in your browser and is not saved or sent to our server.

Does the Regex Tester work on mobile phones?

Yes. It works in any modern browser on Android phones, iPhones, tablets, laptops and desktop computers.

Which browsers are supported?

The latest versions of Chrome, Edge, Firefox, Safari, Opera, Brave and Samsung Internet are all supported.

Do I need to install any software?

No. The tool runs in your browser, so there is nothing to download or install.

Is there a daily usage limit?

No. You can use the tool as many times as you want, every day.

Can I use the Regex Tester for commercial work?

Yes. The results are yours to use in personal and commercial projects.

Does it work offline?

Once the page has loaded, the tool itself runs in your browser, so it keeps working if your connection drops. You need the internet only to open the page.