- see footer for list info -<
Just to make that clearer:
1) Allowed: +999999 (999999) 9999999 where 9 is a digit from 0-9 and any number of them 2) Allowed: (99999) 99999 where 9 is a digit from 0-9 and any number of them 3) If any character in string evaluated in (1) doesn't match the pattern, remove it 4) If any character in string evaluated in (2) doesn't match the pattern, remove it Thank you On 6/6/06, RichL <[EMAIL PROTECTED]> wrote:
(apolgies if there is a separate list...just needed some quick help) Have been looking through the Forta RegEx book but I am on a bit of a tight one and could do with some help If someone could help with the following, would be much appreciated. I need: CHECKS: 1) - first character + or ( or number - followed by any number of digits - ending in a digit or ) (i,e, last ) is optional) 2) as (1) but no need to check for + REPLACES 3) as (1) but - need to strip out any thing that isn't a + or ( or number at start - strip out anything that isn't a number anywhere else - strip out anything that isn't a number or ) at the end 4) as (3) but not worrying about the + Thanks very much -- Rich
-- Rich _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -< - Forum provided by www.fusetalk.com -< - DHTML Menus provided by www.APYCOM.com -< - Lists hosted by www.Gradwell.com -< - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
