Quick answer

An empty pattern is not valid for testing.

Regex Empty Pattern

An empty pattern is not valid for testing. You need to enter at least one character or regex token (e.g. ., \d, [a-z], or a literal) to run a match.

Common causes

How to fix

FAQ

What is the simplest valid regex?
A single character or . (e.g. a or .) is valid. So is \d, \s, or a character class like [a-z].

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical