Quick answer

The pattern is valid and ran without error, but no part of the test string matched.

Match Debugger No Matches

The pattern is valid and ran without error, but no part of the test string matched. This is not an error — try a different pattern, add the g flag for global match, or check the test string.

Common causes

How to fix

FAQ

Why does my regex match in Regex Tester but not in code?
Check flags (g, i, m, s), escaping (e.g. \d in JSON vs in code), and that you are testing the same string.

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical