jQuery-Validation-Engine | jQuery form validation plugin
kandi X-RAY | jQuery-Validation-Engine Summary
kandi X-RAY | jQuery-Validation-Engine Summary
jQuery form validation plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jQuery-Validation-Engine
jQuery-Validation-Engine Key Features
jQuery-Validation-Engine Examples and Code Snippets
Community Discussions
Trending Discussions on jQuery-Validation-Engine
QUESTION
How to validate a filename in jQuery-Validation-Engine with no special characters allowed except for underscore (_
)?
I tried these regex: /^[a-zA-Z\d._]*$/
and /^[a-zA-Z0-9_]+$/
but no luck. The regex are valid based on https://regexr.com/
Here's my sample:
...ANSWER
Answered 2020-Jun-29 at 08:50Try to use this regex pattern- ([a-zA-Z\d._])\w+
And change the class in input element as below-
class="validate[required,custom[email]] text-input"
Also have look at this for reference to create custom rule- How to create simple custom rule?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jQuery-Validation-Engine
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page