<a\b[^>]+\bhref="([^"]*)"[^>]*>([\s\S]*?)</a>
分組1和分組2即為href和value
解釋:
<a\b #匹配a標簽的開始
[^>]+ #匹配a標簽中href之前的內容
\bhref="([^"]*)" #匹配href的值,並將匹配內容捕獲到分組1當中
[^>]*> #匹配a標簽中href之后的內容
([\s\S]*?) #匹配a標簽的value,並捕獲到分組2當中,?表示懶惰匹配
</a> #匹配a標簽的結束