regex question

  • Thread starter Thread starter John
  • Start date Start date
J

John

I am not sure if it is the right forum for Regex topic. If not, please point
me the right forum.
For a given string, such as the text read from an aspx file, I need to
programatically identify each asp.net server control. I am not an expert in
regex, can someone give me a hint to write it?

In the HTML, I need to identity the patterns for
<tag * runat="server" * />
or <tag * runat="server" * > * </tag>
In which tag is in the pattern of *:*

Then I need to get the start index and end index of the string that match
the pattern.
Thank you very much for your help!
 
Back
Top