Tier 7 · Apprenticematch
Contains A Digit
Match any string containing at least one digit.
A character class [0-9] matches one character from a set. \d is shorthand for exactly that, and three characters shorter.
Your pattern0 chars · par 2
//
Flags
Start typing — tests run as you go.0 of 5 visible tests passing
Test cases
abc1must match7must matchv2 releasemust matchabcmust not matchno numbers heremust not match
+ 3 hidden tests, checked when you submit. They are what stops a pattern that only fits the examples above.