more useful options | |
PerlMonks |
Re: Removing duplicate substrings from a string - is a regex possible?by wine (Scribe) |
on Jul 23, 2001 at 18:26 UTC ( [id://99030]=note: print w/replies, xml ) | Need Help?? |
OK, this is probably not the most beautiful and compact regex, but it works:
Update Well of course this is an abuse of regex. I would not use it myself nor recommend it, but it's a nice exercise.
In Section
Seekers of Perl Wisdom
|
|