REGEX (.*) and newline
Posted
by someonewhodoesintspeakenglish
on Stack Overflow
See other posts from Stack Overflow
or by someonewhodoesintspeakenglish
Published on 2010-03-20T17:26:50Z
Indexed on
2010/03/20
17:31 UTC
Read the original article
Hit count: 533
How this fix?
REGEX:
//REGEX
$match_expression = '/Rt..tt<\/td> <td>(.*)<\/td>/';
preg_match($match_expression,$text,$matches1);
$final = $matches1[1];
//THIS WORKING
<tr> <td class="rowhead vtop">Rtštt</td> <td><img border=0 src="http://somephoto"><br /> <br />INFO INFO INFO</td>
</tr>
//THIS NOT WORKING
<tr> <td class="rowhead vtop">Rtštt</td> <td> <br />
IFNO<br />
INFO<br /></td></tr>
Sorry for my poor English
© Stack Overflow or respective owner