Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitDeveloperRegex Tester

Regex Tester

Test patterns with live highlights and groups. Runs entirely in your browser — nothing you paste is sent anywhere.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use Regex Tester

  1. 01Type your regular expression into the Pattern field, without the surrounding slashes.
  2. 02Toggle the flags you need: g global, i ignore case, m multiline, s dot all and u unicode.
  3. 03Paste your sample into Test text and watch the matches highlight as you type.
  4. 04Read the Matches and groups table for each match, its index and the capture groups.
Questions

Regex Tester FAQ

6 answers to what people ask most about the Regex Tester.

How do I test a regex online?

Enter the pattern, paste some text, and matches are highlighted instantly. The panel title shows the match count, and a table lists every match with its position.

Which regex flavor does this tester use?

JavaScript (ECMAScript), the same engine your browser and Node.js use. Patterns written for PCRE, Python or Java can behave differently, for example in lookbehind and named group syntax.

What do the g, i, m, s and u flags mean?

g finds all matches instead of the first, i ignores letter case, m makes ^ and $ match at each line, s lets the dot match line breaks and u turns on full Unicode handling.

Why does my regex only find one match?

The g flag is off. Without it the tester shows the first match only, just like a plain match call in JavaScript. Turn on g to see them all.

How do I see capture groups?

Wrap part of the pattern in parentheses. Each group gets its own column in the Matches and groups table, and a group that did not take part in a match shows a dash.

Is Regex Tester free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
JSON Formatter

Format, minify and validate JSON with clear errors.

Developer
Base64 Encode / Decode

Encode text to Base64 or decode it back, UTF-8 safe.

Developer
URL Encode / Decode

Percent-encode query values or whole URLs.

Developer
HTML Entities

Escape < > & and quotes, or decode entities.

Developer
Something off with Regex Tester? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt