I think I can go from here. Thanks! > -----Original Message----- > From: Ben Doom [mailto:[EMAIL PROTECTED] > Sent: Friday, December 02, 2005 1:19 PM > To: CF-Community > Subject: Re: [QUARRANTINE] Regular Expression Help > > rereplace(string, "([^.]+)[^\]+", "\1"); > > Just a quick draft -- it means grab everything up to the dot, keep that, > and throw away everything else up to the backslash. Untested, YMMV, etc. > > HTH. > > --Ben > > Nick McClure wrote: > > It has been a long time sense I've done regular expressions. Can > somebody > > give me an expression that will take a string like this: > > > > > > > > [EMAIL PROTECTED] > > > > > > > > And turn it into this > > > > > > > > AA\username > > > > > > > > For some reason I just can't figure this out. > > > > > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:185516 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
