Convert The Regular Expression To Used In Javascript June 25, 2024 Post a Comment Please guide me to covert this regular expression “A - Z”, “a - z”,”0 - 9” and “-, _/, \”. to use in javascriptSolution 1: Tryvar rg = newRegExp("^[a-zA-Z0-9\-_[\\]\\/]*$"); Copyorvar rg = /^[a-zA-Z0-9-_[\]\/]*$/; Copythere is no type reference in javascript, all variables will be declared using var and the regex type is RegExp Share Post a Comment for "Convert The Regular Expression To Used In Javascript"
Post a Comment for "Convert The Regular Expression To Used In Javascript"