Perl Monk, Perl Meditation | |
PerlMonks |
Re: Finding a _Similar_ Substring? (Fuzzy Searching?)by ambrus (Abbot) |
on May 21, 2004 at 11:47 UTC ( [id://355244]=note: print w/replies, xml ) | Need Help?? |
If, as others have suggested, you want most characters get ignored,
you could strip all those characters (with y///d) from
both the haystack and the needle string, and then perform a match.
Also, you may want to use case-insensitive matching.
In Section
Seekers of Perl Wisdom
|
|