You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the third example is still valid as it still contains 10 digits.
$regExp = (newRegExpBuilder)
->startOfInput() //expect start of input before digits
->exactly(10)->digits()
->endOfInput() //expect end of input after digits
->getRegExp();
I'm trying to match expression with exactly 10 digits. Maybe I don't understand it correctly, so here is my example:
How to achieve my goal?
The text was updated successfully, but these errors were encountered: