+ 3
What this means? (/[^A-Za-z0-9]/g)
Need to understand the value , I get it partially like it's said the character from A to Z and a to z and 0 to 9 but I did not get g stands for what and also the symbols? is it character or is it symbol please help.
4 Respostas
+ 14
FYI, here are the list of modifiers:
i => case insensitive
g => global
m => multiline
u => unicode
+ 4
That's the flag g -> global, m-> multiline etc.
+ 3
this is a regex that matches any non-alphanumeric characters. ("^" means negated character class, the letters and numbers signify all capital and lowercase letters and digits, and the "g" is just a flag for global as said in the previous comment)
+ 2
regEx