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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -