but it isn't even correct. efficiency is important since it will have to be done on many strings. any help is greatly appreciated. cheers, ntav$string =~ s/(\w+)(.*)\b\1/$1 $2/sig;
In reply to most efficient regex to delete duplicate words by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |