On Thursday 24 February 2005 05:42 pm, [EMAIL PROTECTED] wrote: > Stuart Johnston wrote: > > [EMAIL PROTECTED] wrote: > >> Stuart Johnston wrote: > >>> body L_MILLBILL /[mb]i(?:\|l|l\||\|\|)ions?/i > >> > >> body L_MILLBILL /[mb]i[l|][l|]ions?/i > > > > I started with something similar to that but it will also match > > millions which we don't want. > > Touché! > > OK, how about > body L_MILLBILL /[mb]il?\|+l?ions?/i > > Also catches mi|ions, mil||ions > > Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902 > Hispanic Business Inc./HireDiversity.com Software Engineer > perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
Over a period of time, here's some of the character groups that I've seen substituted. Feel free to use them wherever. i or l = [|ííiil1] a = [EMAIL PROTECTED] e = [eé3] o = [o0] And, don't forget that a .? means either 1 or no characters ignored. so [EMAIL PROTECTED] matches prozac p r o z a c [EMAIL PROTECTED] pmrwomawzmawc (not that you'd want to...) etc. -- "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" Albert Einstein