This will match "This is a sentence sentence." as well as "This is a sentence sentence to.".s/(\b\w+?\b)\s+\1/$1/g;
In reply to Re: Re: Duplicate Words
by bent
in thread Duplicate Words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |