2016-08-02 61 views

回答

1

如果图案是相同的,你可以做一些事情作为

mysql> select 
substring_index(
    substring_index('"Email Request processed successfully Emails:[[email protected]][HostName = WSRC-AFFILIATE-1, Host Address = 192.168.103.105]"', 
    'Emails:[',-1 
    ), 
']',1) as s ; 


+----------------------+ 
| s     | 
+----------------------+ 
| [email protected] | 
+----------------------+