+ 7

What should I write inside regularExpression function?

Screenshot image: https://ibb.co/mvYLue

1st Sep 2018, 6:57 AM
Adi Pratama
Adi Pratama - avatar
3 Respostas
+ 4
A regular expression to check the input with. Check out, https://www.sololearn.com/learn/9704/?ref=app
1st Sep 2018, 7:31 AM
Rusty.Metal
+ 2
Is there a description of the task anywhere?
1st Sep 2018, 6:10 PM
BlazingMagpie
BlazingMagpie - avatar
+ 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.
1st Sep 2018, 9:13 AM
Dimpal Desai