My test string is contains New Lines.
Test<?TEST.
sdasdsadads
Test<?TEST.
Test<?TEST.
I want to check if the combination <?
exists anywhere in the text. If so, my regex should fail.
Any ideas?
ASP.NET web page.\
<td>
<asp:TextBox ID="test" runat="server" Height="55px" TextMode="MultiLine"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator11" runat="server"
ControlToValidate="test" Display="Dynamic" ForeColor="Red"
ValidationGroup="Validations" ValidationExpression="^(?![\s\S]*<\?)" EnableClientScript="true"></asp:RegularExpressionValidator>
</td>