$> Kaya
~/tools/regex-testerinteractive
/tools/regex-tester

Regex Tester

Use this regex tester to try a pattern against sample text, adjust flags, and inspect every match directly in the browser.

~/tools/regex-testergrep -E
Matches
Kaya
@0
fast
@11
Four
@23
word
@28
list
@33
code
@39
test
@45
ship
@51
~/tools/regex-tester/examplesusage.txt

Example Usage

  • Test a validation pattern before adding it to a form or parser.
  • Inspect match positions and captured groups while debugging a regex.
  • Try different flags such as global or case-insensitive without leaving the page.
~/tools/regex-tester/guideREADME.md

Regex Tester Explained

A regex tester helps you check whether a regular expression behaves the way you expect on real input. Instead of writing code and rerunning it repeatedly, you can paste a pattern, provide flags, add sample text, and review the matches instantly. This is especially useful when debugging validation rules, search patterns, parsers, or log filters. Because the tool shows individual matches and captured groups, it is easier to understand what your pattern is actually selecting and where it may be too broad or too strict.

~/tools/regex-tester/faq3 items

FAQ

Can I test regex flags too?

Yes. You can enter common JavaScript flags such as g, i, and m.

Does it show capture groups?

Yes. Captured groups are listed for each match when they exist.

Why does it say the regex is invalid?

That usually means the pattern syntax or flag combination is not valid in JavaScript.

~/tools/regex-tester/related5 links
~/tools/regex-tester/linksinternal