Regex to Parse Hyperlinks and Descriptions

前端 未结 6 1836
长情又很酷
长情又很酷 2020-12-11 07:20

C#: What is a good Regex to parse hyperlinks and their description?

Please consider case insensitivity, white-space and use of single quotes (instead of double quote

6条回答
  •  [愿得一人]
    2020-12-11 08:19

    I have a regex that handles most cases, though I believe it does match HTML within a multiline comment.

    It's written using the .NET syntax, but should be easily translatable.

提交回复
热议问题