var regex = /[0-9a-zA-Z$_]+/ig
For more information see here
https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions
1
solved Javascript : To text string contains only alpha numaric,$ and _ [closed]
var regex = /[0-9a-zA-Z$_]+/ig
For more information see here
https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions
1
solved Javascript : To text string contains only alpha numaric,$ and _ [closed]