if someone really wants to put something in, there's not a lot you can do
about it.

If I really wanted to put a telephone number in, and noticed you regex'ing
them out, I'd just do this:

0 two 0 four 3 six 7 four 7.

that'll pass a telephone number regex. Same with e-mail, like
friendsreunited discovered, there's no way other than manual moderation to
catch all variances (eg rDOTwildATe-mangoDOTcom)

> -----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