Link to home
Start Free TrialLog in
Avatar of NeGueSa
NeGueSaFlag for United States of America

asked on

Regular Expresion Validator

I'm trying to validate a text control in the following format :

(@String

This means that the user has to write in the textbox (@ plus any string he wants upto 50 characters.
My first try was this :  [(@_a-zA-Z_0-9_ _áéíóúñÑ]{3,50} but didn't works.
Any help will be appreciate it.
Avatar of NeGueSa
NeGueSa
Flag of United States of America image

ASKER

I allready found out which expression to use is:

^[(]+[@]+[A-Z_a-z]{1,50}
ASKER CERTIFIED SOLUTION
Avatar of mbip2000
mbip2000
Flag of Bangladesh image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MrHorizontal
MrHorizontal

mbip: that allows all characters: ^[(]+[@]+[A-Z_a-z_0-9]{1,50}
hi,
wht  u want? only text or numeric depends on u.
mbip