On Friday 01 May 2009 06:16:32 pm Andrew Rodland wrote: > More complicated and not tested but _should_ match your question exactly: > > s/(?:^|(?< ))Eft(?:$|(?= ))/EFT/; > Correction for this one: s/(?:^|(?<= ))Eft(?:$|(?= ))/EFT/; (added an '=' that I slipped the first time). Andrew