Last active
February 5, 2016 08:08
-
-
Save dineshsprabu/0cf25620da85c424fa41 to your computer and use it in GitHub Desktop.
MySQL query to extract email id inside angular braces < >
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select replace(substring(`email_field`, LOCATE('<', `email_field`)+1),substring(`email_field`, LOCATE('>', `email_field`)),'') from table_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment