Yeah... It's standard regex.
I actually found a filter that I hacked and got it to work. It only allows numbers and the dash. <!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 9:09 AM To: CF-Talk Subject: Re: phone number validation script for TMT validator? You might try something along the lines of (\d{3}-)?\d{3}-\d{4} Never used the TMT validator, but from what I've seen on the lists, it takes a fairly standard regex, right? --Ben Andy Matthews wrote: > I've looked through the docs and can't find one. But does anyone have a > phone number validation script for Massimo's TMT validator? > > I've tried using a data validator with a custom mask but it doesn't seem to > work. I just want to restrict it to numbers (that part's easy), but it would > be great if the script could also force dashes between each group of > numbers. > > <!----------------//------ > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234060 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

