sarad | write a program only by a simple click
kandi X-RAY | sarad Summary
kandi X-RAY | sarad Summary
write a program only by a simple click
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 sarad
sarad Key Features
sarad Examples and Code Snippets
Community Discussions
Trending Discussions on sarad
QUESTION
Scenario:
I have tested the following regex expression in https://www.regextester.com/ And it performs the validation as required. That means it doesn't allow the expression containing '@' character.
Issue Faced:
But, when I implement the same regex expression for form validation in HTML then it fails to validate. That means it also allows the expressions containing '@' character, which is not the required outcome.
Here is the regex expression:
...ANSWER
Answered 2018-Jun-01 at 05:32Perhaps I am reading your requirements too loosely, but what about using ^[^@]+$
for your regular expression? It matches all of your given test cases.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sarad
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