hi, i am looking for a regular expression suitable for validating userinput from a JSP. the feild i am looking for is Email ID. this Textbox should accept wild card charecter(%). has any one worked on this or any references to look. regards,
Welcome to JavaRanch. YOu may have overlooked that there is a naming policy governing screen names; you should correct yours accordingly.
If you just start out with RegExps, this web site may help you get going. If you just want an expression checking email addresses, a simple Google search will get you many examples.
posted 15 years ago
hi, Thanks for your suggestion. I will change my display name. I googled for the expression. i could get lot of expressions but none of them suit my requirement. this is for developing a search screen where a user can search by entering email id *with* wild chareter(%).
I got this from www.regexlib.com , but it has a restriction on the position of wild card.