Do you know where your variables are? | |
PerlMonks |
Re: Stripping bad characters in rssby Anonymous Monk |
on Nov 07, 2022 at 04:40 UTC ( [id://11148020]=note: print w/replies, xml ) | Need Help?? |
Rather than trying to come up with a blacklist, which could keep shifting, why not use eg https://www.asciitable.com/ to create some regexes that only accept valid (to you) char ranges eg 0-9, a-z, A-Z and a reasonable set of punctuation chars, and reject all others ?
In Section
Seekers of Perl Wisdom
|
|