I'd recommend using this tool to test your regex ideas http://gskinner.com/RegExr/ -- Michael Kimsal http://jsmag.com - for javascript developers http://groovymag.com - for groovy developers http://indieconf.com - web freelancer conference 919.827.4724