"@+|[0-9 ]{7,}"

Wouldn't that do it: either a "@" sign or any combination of 7 numerals or
spaces.

Search for this and inform if found.

Paolo

> -----Original Message-----
> From: Gordon Burns [mailto:[EMAIL PROTECTED]
> Sent: 13 November 2003 13:46
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Regex 
> 
> 
> I have an application where my client wants to prevent users 
> putting in either an email or a phone number into a textform field.
> 
> This is to ensure that contact is made through the site owner..
> 
> Does anyone have to hand a regex that can detect an email in a 
> stringthat they could share.
> 
> 
> Does any have an suggestions about phone numbers I think any string 
> with more that 5 numerals would be seen as suspicious !  Only UK 
> numbers are the concern here
> 
> 
> 
> TIA for any thoughts.
> 
> Gordon
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to