got it, I tested it out and it worked how I needed it to, thanks.

I'm not sure what all the /'s and \'s do but I guess I'll have to reference a site on regular expressions one day. but for now this gets the job done. thanks.