in reply to Re: How do I check a string for dupicate text?
in thread How do I check a string for dupicate text?
s/(.{2,})\s*\1/$1/g
Anybody called 'John Johnson' or 'Jo Jones' will lose their first name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How do I check a string for dupicate text?
by ikegami (Patriarch) on Sep 09, 2004 at 17:37 UTC | |
by ysth (Canon) on Sep 09, 2004 at 19:06 UTC | |
by ikegami (Patriarch) on Sep 09, 2004 at 19:52 UTC | |
by davido (Cardinal) on Sep 10, 2004 at 05:49 UTC | |
by devgoddess (Acolyte) on Sep 09, 2004 at 18:33 UTC | |
by Not_a_Number (Prior) on Sep 11, 2004 at 19:02 UTC | |
by ikegami (Patriarch) on Sep 11, 2004 at 19:48 UTC |