[Solved] Want regex for accepting $,0-9,a-z,+,-,/,*? [closed]
[ad_1] This should match any of the specified characters and no others. /^[$0-9a-z+\-\/*]+$/ Note: the ‘-‘ character needs to be escaped in selection groups like this since it generally signifies a range of possible characters (i.e. a-z or 0-9). 3 [ad_2] solved Want regex for accepting $,0-9,a-z,+,-,/,*? [closed]