How do I parse HTML using regular expressions in C#?

前端 未结 5 1312
野的像风
野的像风 2021-01-28 13:49

How do I parse HTML using regular expressions in C#?

For example, given HTML code

 t1      sp         


        
5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-28 14:08

    I used this regx in C#, and it works. Thanks for all your answers.

    <([^<]*)>|([^<]*)
    

提交回复
热议问题