I created a asp.net page. The rich text area and regular expression validator are existed in this page. I want to check the html span tag that is contained or not in the rich text area. And then, I don’t know how to write expression in regular expression validator. Please, help me.
I created a asp.net page. The rich text area and regular expression validator are
Share
You can figure out if there’s a
spantag with C# in ASP.NET with the following regex:It searches for
<spanthen none or some chars that is not>, and finally a>.