So anyway, here's the email I posted :
==================
For my sins - I have the following expressions that I need to compare a string against in javascript.
[F|K]([0-9]{4}) = F1234 or K1234
[CC]([0-9]{4}) = CC1234
[F]([0-9]{4})[-]([0-9]{2}) = F1234-12Are these valid in JS? Do I just now assign them to a variable and use them in the brackets of mystring.match() ?
Never done regex in JS before.... First time for everything! ;)
Regards
Stephen
-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by
activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*To unsubscribe, e-mail: [EMAIL PROTECTED]
