Remove Non Alphanumeric Characters Javascript

[Solved] Remove Non Alphanumeric Characters Javascript | Vb - Code Explorer | yomemimo.com
Question : remove non alphanumeric characters javascript

Answered by : annoying-ant-81pfv1uy1lb0

input.replace(/\W/g, '') //doesnt include underscores
input.replace(/[^0-9a-z]/gi, '') //removes underscores too

Source : | Last Update : Mon, 08 Jun 20

Question : remove non-alphanumeric characters and space javascript

Answered by : daniel-hemmati

str.toLowerCase().replace(/\s+|\W/g, '')

Source : | Last Update : Fri, 29 Jul 22

Question : replace non alphanumeric javascript

Answered by : crazy-cod-wwi3xe4nozou

text.replace(/[\W_]+/g," ");

Source : | Last Update : Sun, 05 Apr 20

Question : js remove nonalphanumeric

Answered by : clodoaldo-favaro

input.replace(/\W/g, '')

Source : https://stackoverflow.com/questions/9364400/remove-not-alphanumeric-characters-from-string | Last Update : Fri, 30 Sep 22

Answers related to remove non alphanumeric characters javascript

Code Explorer Popular Question For Vb