I have the following HTML code and am trying to get data using RegExp. This does not work in mobile browsers.
var JSON:
<div class="comment_item right">
<div class="comment_author_wrap">
<div class="comment_author">
</div>
</div>
<p mid="1369">fdsfds
</p>
Variable json is the response from the server.
Regexp:
msg = json;
var regexp = /<p(.*?)<\/p>/gms;
result = msg.match(regexp);