【发布时间】:2012-10-05 08:41:33
【问题描述】:
我有这样的 html 字符串:
<img src="mysrc" width="128" height="92" border="0" alt="alt" /><p><strong>...
我想提取 mysrc。我不想使用 html 解析器,因为我只需要处理简单的 html 字符串...有没有一种仅使用字符串/正则表达式来提取源字段的有效方法?或者也许使用 android 默认的 xml 解析器?
【问题讨论】:
-
你有没有尝试过?
-
有些东西,但到目前为止还没有有效的想法..