How can I check if a string contains at least 1 series of exactly 10 consecutive digits ?
For example:
1234567890
PASS
asdf 1234567890 asdf
PASS
asdf 1234567890 asdf 1234567890
PASS
asdf1234567890asdf
PASS
asdf 123456789 asdf
FAIL
asdf 12345678901 asdf
FAIL
asdf 12345 67890 asdf
FAIL
etc...