Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » regexp javascri... » alphanumeric with restraints
  • letters, numbers and spaces only

    Good Day. I am using the following code to validate data on a HTML page function checkTermMoYr (strng) {  var error = "";  if (strng == "") {     error = "You didn't enter a Loan Term.\n";  } //var illegalChars = /\W/; var illegalChars = \s;   // allow only letters, numbers, ...
    Posted to Construction Advice (Forum) by ahbenshaut on January 26, 2007