howto write email pattern in mysql? -
What I have tried is below:
mysql> 'ABC @ BC' REGEXP '[a-zA-Z0- 9_] + (?: [\ - \ +.] [A-zA-Z0-9 _] +) * @ [a-zA-Z0- 9_ Select]: - * \ [one-zA-Z0-9 _] (([\ \ \ +] [one-zA-Z0-9 _]?.):.?. [\ - \ \ + ] [A -ZA-Z0-9 _]) * '; Error 1139 (42000): 'Repeat Operator Operate and Invalid' from regexp And I do not know what's wrong with it.
Can anyone give me the right thing here?
Thanks a lot!
A simple regex that should match the most email address:
[A-z0- 9 _.. + + -] + @ [A-z0-9 _.% + -] + \. [Ed] {2,4}
Comments
Post a Comment