Just a dumb question, but why use a regex at all? I'm assuming that there's a larger, surrounding issue. That might help point to an optimal solution.
--Ben Andy Jarrett wrote: > Hi, > > Im trying to find a word occurence in a list (comma deliminated) using RegEx > but the gray matter is letting me down. > > Here's a sample list im using. > > pass,pass,pass,10,andypass,pass,asdasdapass,pass,1pass,pass1,pass > > and this is where i am at > > [\,]+pass[\,]+ > > This gives me 100% positive results but doesnt use the first and last values > D'oh > > I've tried a few variations but so far no avail. > > Any help would be appreciated. > > Regards, Andy J > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:21:901 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
