Regular expression to match hyperlink href
Regular expression
Match hyperlink href href=[^ ]*
Match within hyperlink a tag [Aa]\s+(.*?\s+)*?href\s*=\s*([' ]).+?\2(\s+.*?\s*)*? .+? /[Aa]
a class=”tool-attend tool-bt-button tool-bt-attend” href=”javascript:;” data-report-view=”{ ‘mod’: 1592215036_002, ‘spm’: 1001.2101.3001.4232, ‘extend1’: ‘关注’ }” 关注 /a
Match http [^\\=](http://[A-Za-z0-9\\.\\/=\\?%\\-\\_\\ ~`@':+!(^\\ )]+)
打赏
-
Alipay QR Code Scan
-
WeChat Scan Pay