开发者

Getting link using specific text

From HTML body,I have to extract link which has text "Customer".For example

<a href="google.com?x=1&xy=2" _target="blank" title="cus">Custome开发者_开发知识库r </a>

I was thinking of using regex. What regex to use?


<a href=\"(.*?)\".*>.*Customer.*</a>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜