i search for a regex in JavaScript for Alphanumeric characters and the asterisk sign (*).
All i found is this:
var regexAlphaNumWithAsterisk = new RegExp(/^[0-9a-zA-Z\*{*}]+$/);
I want to test this groups : "12*****" or "123456" or "BCDEFG" or "12*ABC" When I change my regexp like
var regexAlphaNum = new RegExp(/^[0-9a-zA-Z]+$/);
my validation for "123456" or "BCDEFG" is fine.
Can everyone help me with this?