我需要一些regexp的帮助 [英] I need some help with a regexp please

查看:88
本文介绍了我需要一些regexp的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在尝试使用正则表达式来验证电子邮件地址但却无法获得

这是非常正确的。问题是我无法找到正在执行

的正则表达式而忽略了james..ki ** @ fred.com,这是无效的。这是'/ b $ b我的尝试,我的正则表达式都不是我想要的:

展开 | 选择 | 换行 | 行号

解决方案



codefire写道:





我试图获得一个regexp来验证电子邮件地址,但是不能得到

这是非常正确的。问题是我无法找到正在执行

的正则表达式而忽略了james..ki ** @ fred.com,这是无效的。这是'/ b $ b我的尝试,我的正则表达式都不是我想要的:

展开 | 选择 | 换行 | 行号


2006-09-21,codefire< to ********** @ gmail.comwrote:


我是试图获得一个正则表达式来验证电子邮件地址但

不能正确。问题是我无法找到

正则表达式来处理忽略案例james..ki ** @ fred.com,

这是无效的。这是我的尝试,我的正则表达式

完全按照我的要求工作:



我建议使用电子邮件地址验证器进行网络搜索

自己写的。


这里的点击看起来很有用:

http://aspn.activestate.com/ASPN/Coo...n/Recipe/66439


-

Neil Cerutti

下周日,Vinson夫人将担任上午服务的独奏。然后牧师会说这是一次可怕的经历。

--Church Bulletin Blooper


< blockquote> codefire写道:





我想获得一个regexp来验证电子邮件地址,但可以''得到

这是非常正确的。问题是我无法找到正在执行

的正则表达式而忽略了james..ki ** @ fred.com,这是无效的。这是'/ b $ b我的尝试,我的正则表达式都不是我想要的:

展开 | 选择 | 换行 | 行号


Hi,

I am trying to get a regexp to validate email addresses but can''t get
it quite right. The problem is I can''t quite find the regexp to deal
with ignoring the case james..ki**@fred.com, which is not valid. Here''s
my attempt, neither of my regexps work quite how I want:

Expand|Select|Wrap|Line Numbers

解决方案


codefire wrote:

Hi,

I am trying to get a regexp to validate email addresses but can''t get
it quite right. The problem is I can''t quite find the regexp to deal
with ignoring the case james..ki**@fred.com, which is not valid. Here''s
my attempt, neither of my regexps work quite how I want:

Expand|Select|Wrap|Line Numbers


On 2006-09-21, codefire <to**********@gmail.comwrote:

I am trying to get a regexp to validate email addresses but
can''t get it quite right. The problem is I can''t quite find the
regexp to deal with ignoring the case james..ki**@fred.com,
which is not valid. Here''s my attempt, neither of my regexps
work quite how I want:

I suggest a websearch for email address validators instead of
writing of your own.

Here''s a hit that looks useful:

http://aspn.activestate.com/ASPN/Coo...n/Recipe/66439

--
Neil Cerutti
Next Sunday Mrs. Vinson will be soloist for the morning service.
The pastor will then speak on "It''s a Terrible Experience."
--Church Bulletin Blooper


codefire wrote:

Hi,

I am trying to get a regexp to validate email addresses but can''t get
it quite right. The problem is I can''t quite find the regexp to deal
with ignoring the case james..ki**@fred.com, which is not valid. Here''s
my attempt, neither of my regexps work quite how I want:

Expand|Select|Wrap|Line Numbers


这篇关于我需要一些regexp的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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