0

I am using regular expression for preventing any html tags to be entered in text box on client side. It is:

[RegularExpression("^(?!.*<[^>]+>).*"

But when I want to have new line by enter key, it also triggers notification. Any idea how to make it accept multi line input?

Hadee
  • 1,392
  • 1
  • 14
  • 25

0 Answers0