KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
$.validator.addMethod('AZ09_', function (value) { return /^[a-zA-Z0-9.-_]+$/.test(value); }, 'Only letters, numbers, and _-. are allowed'); When I use somehting like test-123 it still triggers as if the hyphen is invalid. I tried \- and --
Tags (comma-separated)
Save Edits
Cancel