+ 7
What should I write inside regularExpression function?
Screenshot image: https://ibb.co/mvYLue
3 Answers
+ 4
A regular expression to check the input with.
Check out, https://www.sololearn.com/learn/9704/?ref=app
+ 2
Is there a description of the task anywhere?
+ 1
i used it for alphanumeric values like for PAN no,email address.
For instance,
Example : Regular expression for an email address :
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
The above regular expression can be used for checking if a given set of characters is an email address or not.