why does this code return false:
var text = "3b3xx";
if(text.match("/^\d?b\d+xx$/")) {
return true;
}
return false;
I can not see any problem with my regular expression.. I want to return true, if the string starts with any numbers, followed by "b", followed by any numers, followed by "xx".