Some text may be {code ...} it may also be {code ...} that is, & amp; lt; td & amp; gt; the front may be & amp; lt; br & amp; gt; or not, if the minimum range of the regular expression is used to match the two fields at the same time (this parameter cannot be used. *?) A text segment may be
/34-Cosplayer">Cosplayer
bala balab a la
Or it may be
/34-Cosplayer">Cosplayer
bala ba la ba la
That isThere may be
Or none. if the minimum range of the regular expression is used to match the two fields at the same time (.*?)
Reply content:
A text segment may be
/34-Cosplayer">Cosplayer
bala balab a la
Or it may be
/34-Cosplayer">Cosplayer
bala ba la ba la
That isThere may be
Or none. if the minimum range of the regular expression is used to match the two fields at the same time (.*?)
/34-Cosplayer">Cosplayer
[^<]+(
)?
This is generally the case. I don't know much about flavor of PHP regular expressions.
$a = explode('/34-CosPlayer">CosPlayer', $html);$b = explode('', $a[1]);echo $b[0];
I don't want to use regular expression parsing anymore. it's quite convenient to use explode directly... It is too inconvenient to use Pad to code... ===