Skip to content

AS3 – Strip non-alphanumeric from string (keep _)

trace(s.replace(/\W+/g, ''));

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*