0

I'm trying to get tag sets from html, and wanted to do it via Regex, I don't know if it's possible, but I'm adopting this template:

<p>
   this is a paragraph.
   do not say. (¬¬)
</p>

<p>
   this is a paragraph.
   do not say. (¬¬)
</p>

I wanted to do like this model

enter image description here

I already tried to do this:

\<p\>.*\<\/p\>

But it doesn't work.

I will use the result of this regex in C# with the class:

MatchCollection ms = Regex.Matches("input", "pattern");

Can anyone help?

Isaac
  • 150
  • 1
  • 1
  • 12

0 Answers0