mathieu_cupryk
asked on
Regular expression for Headline
<asp:RegularExpressionVali dator ID="REVtxtHeadLine" runat="server" ControlToValidate="txtHead Line"
Font-Size="X-Small" SetFocusOnError="true" ValidationExpression="^[a- zA-Z]{1}[a -zA-Z]{1,7 4}$"
ErrorMessage="<b>A valid HeadLineis required,</b><br />Please type between 2 to 128 letters<br />(One Line Sentence)"
Display="None"></asp:Regul arExpressi onValidato r>
Shoud be aloud spaces, periods and commons, bracket any charact except something that can screw up database.
Font-Size="X-Small" SetFocusOnError="true" ValidationExpression="^[a-
ErrorMessage="<b>A valid HeadLineis required,</b><br />Please type between 2 to 128 letters<br />(One Line Sentence)"
Display="None"></asp:Regul
Shoud be aloud spaces, periods and commons, bracket any charact except something that can screw up database.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
^[a-zA-Z0-9 .,()]{1,74}$
?
?
ASKER
^[a-zA-Z0-9 .,()]{1,127}$
ASKER
I also want specal characters?
",,,,,,,,,,,,,,,,......... .......... ....."
",,,,,,,,,,,,,,,,.........
ASKER
k
This should be OK
Open in new window