开发者

Using regex with HTML

I have the string <option value=/digital/collections/newsouth62.html>1862</option> and I want to fetch only the 1862 from th开发者_开发知识库e above string using a regular expression.


pattern = "|<option.*?>(.*?)</option>|";
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜