regex - How to allow a-z 0-9 and '+' in a string and remove all others? -
how allow a-z 0-9, 'space' , 'plus' in string , remove other characters?
my string is:
riot☩ danny/da'ze-u+s ☩ saturday ☩ may 18th ☩ simons
can body me?
i'm not sure whether understand question correctly...
do want remove characters not allowed?
then replace "[^a-z 0-9+]" ""
Comments
Post a Comment