What is the best way for me to search this type of value via regular expression in MySQL?
"ABCDE/+19876543210@abc-def"
ABCDE/
represents a specific value that does not change
@abc-def
also represents specific value that does not change
My unsuccessful attempt below:
SELECT BLAH
FROM BLOOP
WHERE (bloop.field REGEXP'^\\ABCDE/+1(123|234|345|456)[1-9]{7}@abc-def$')
1
to be either of these(123|234|345|456)
?[1-9]
-->[0-9]