RegEx to extract text between a HTML tag

前端 未结 3 1369
我寻月下人不归
我寻月下人不归 2020-12-21 01:44

I\'m looking a regular expression which must extract text between HTML tag of different types.

For ex:

Span 1 - O/p:

3条回答
  •  清歌不尽
    2020-12-21 02:08

    A very specific way:

    (||)
    

    but yeah, this will only work for those 3 examples. You'll need to use an HTML parser.

提交回复
热议问题