正则表达式帮助电子邮件 [英] Regex help for email

查看:76
本文介绍了正则表达式帮助电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我需要一个正则表达式代码,用于将此字符串解析为电子邮件数组


" mnp test" < ce ** @ tum.com>," test testt"

< ot ** @ par.com> ;, se ** @ tttt.com,te ** @ twest.com


感谢

Hi

I need a regex code for parsing this string to an email array

"mnp test" <ce**@tum.com>,"test testt"
<ot**@par.com>,se**@tttt.com,te**@twest.com

thanks

推荐答案

10月18日上午10:59,gezerpunta< css ... @ gmail.comwrote:
On Oct 18, 10:59 am, gezerpunta <css...@gmail.comwrote:




我需要一个正则表达式代码来解析这个字符串到一封电子邮件阵列


" mnp test" < c ... @ tum.com>," test testt"

< o ... @ par.com> ;, s ... @ tttt.com,t ... @ twest.com


谢谢
Hi

I need a regex code for parsing this string to an email array

"mnp test" <c...@tum.com>,"test testt"
<o...@par.com>,s...@tttt.com,t...@twest.com

thanks



为什么需要正则表达式?为什么不直接使用爆炸?


< http://www.php.net/explode>

Why do you need a regex? Why not just use explode?

<http://www.php.net/explode>


问候,ZeldorBlat。

回复你2007年10月18日星期四,21:10:00的消息,


ZOn 10月18日,10: 59 am,gezerpunta< css ... @ gmail.comwrote:
Greetings, ZeldorBlat.
In reply to Your message dated Thursday, October 18, 2007, 21:10:00,

ZOn Oct 18, 10:59 am, gezerpunta <css...@gmail.comwrote:

>嗨

我需要一个正则表达式代码来将此字符串解析为电子邮件数组

mnp test < c ... @ tum.com>," test testt"
< o ... @ par.com> ;, s ... @ tttt.com,t ... @ twest.com

谢谢
>Hi

I need a regex code for parsing this string to an email array

"mnp test" <c...@tum.com>,"test testt"
<o...@par.com>,s...@tttt.com,t...@twest.com

thanks



Z你为什么需要正则表达式?为什么不直接使用爆炸?


Z< http://www.php.net/explode>


请提供爆炸代码()把字符串

" mnp test" < c ... @ tum.com>,test testt" < o ... @ par.com>,s ... @ tttt.com,t ... @ twest.com

进入

数组('' c ... @ tum.com'',''o ... @ par.com'','s ... @ tttt.com'','t ... @ twest.com'') ;

-

真诚的你,AnrDaemon< an ******* @ freemail.ru>

ZWhy do you need a regex? Why not just use explode?

Z<http://www.php.net/explode>

Please, provide code with explode() to put string
"mnp test" <c...@tum.com>,"test testt" <o...@par.com>,s...@tttt.com,t...@twest.com
into
array(''c...@tum.com'', ''o...@par.com'', ''s...@tttt.com'', ''t...@twest.com'');
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>


Greetings,gezerpunta。

回复你2007年10月18日星期四,18:59:31的消息,


我需要一个正则表达式代码来解析这个字符串到一个电子邮件数组


g" mnp test" < ce ** @ tum.com>," test testt"

g< ot ** @ par.com> ;, se ** @ tttt.com,te ** @ twest.com


类似


<?php

Greetings, gezerpunta.
In reply to Your message dated Thursday, October 18, 2007, 18:59:31,

gI need a regex code for parsing this string to an email array

g "mnp test" <ce**@tum.com>,"test testt"
g<ot**@par.com>,se**@tttt.com,te**@twest.com

Something like

<?php


这篇关于正则表达式帮助电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆