Gigsouk

Regex Tester

Type a JavaScript regular expression and some test text to see every match highlighted as you type, with numbered and named capture groups.

Regular expression
//g
Try:
2 matches
Order #1042 placed 2026-09-14 by ada@example.com for $1,249.00
Refund issued 2026-10-01 to grace.hopper+billing@example.org — $89.99
Questions? Visit https://gigsouk.com/help or call (555) 123-4567.
#MatchIndexGroups
12026-09-1419
year: 2026
month: 09
day: 14
22026-10-0177
year: 2026
month: 10
day: 01

Uses JavaScript's regex engine. Most syntax is shared with Python, PostgreSQL and other engines, but lookbehind and named-group syntax can differ.

How to use the Regex Tester

  1. 1Type a regular expression and choose flags.
  2. 2Paste the text to test against.
  3. 3See matches highlighted, with numbered and named capture groups listed below.

Frequently asked questions

Which regex flavour does this use?

JavaScript's regular expression engine. Most syntax is shared with Python, Java and PostgreSQL, but some features such as lookbehind and named-group syntax differ between engines.

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

g finds every match, i ignores case, m makes ^ and $ match at each line, s lets . match new lines, and u enables full Unicode.

How do named capture groups work?

Write (?<name>pattern). The match table lists each group by name, for example year, month and day for a date.

More free tools

All tools →

Put your skills to work

Thousands of open roles from companies hiring now — apply directly with the employer.