Regex to validate 150 character text in HTML format
<p>I want a regex which will limit the character count to 150 and at the same time allow HTML.
So far I have reached this much <code>^.{0,150}$</code> but this won't allow html tags. Can anyone help me on this?</p>