Remove All White Spaces And Different Characters Globally

[Solved] Remove All White Spaces And Different Characters Globally | Perl - Code Explorer | yomemimo.com
Question : Deleting all white spaces in a string

Answered by : rashad

.replaceAll(/\s/g,'')

Source : https://stackoverflow.com/questions/6623231/remove-all-white-spaces-from-text | Last Update : Sun, 28 Nov 21

Question : remove all white spaces and different characters globally

Answered by : ret-tine

str = text.toLowerCase().replace(/[^A-Za-z0-9]/g,'');

Source : https://stackoverflow.com/questions/14813369/palindrome-check-in-javascript | Last Update : Mon, 09 May 22

Answers related to remove all white spaces and different characters globally

Code Explorer Popular Question For Perl