PowerTraces

Regex tester

Test a JavaScript regular expression against your text, see every match and group, and preview a replacement.

How it works

Matches are highlighted as you type, named and numbered groups are listed, and the replacement shows the result straight away.

Questions

Which regex syntax is this?

JavaScript (ECMAScript). Most features match PCRE, .NET and Python; lookbehind and named groups are supported.

What do the flags mean?

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

Related tools

All tools