Technical topic. csdn. netu2011121616934599d3-8e99-4b help to match the href and name of a tag
Sorry,
This is the third tag question.
Http://topic.csdn.net/u/20111219/16/76c412e3-ee15-4812-ac11-fe5f15a1dea1.html
Http://topic.csdn.net/u/20111216/16/934599d3-8e99-4b94-8dae-28e5b9c455c4.html
However, there is no way to solve this problem.
Yes.
Previously, the connection solved a regular expression matching the href and name of the tag.
But now it is in the result string to be matched
There are two forms of tags
Mccailin
$ Regular = '/] * href = "([^"] *) "> (. *) <\/a>/isu ';
Meilihui brand shopping
The matched result is: $ regular = '/] * href = "([^"] *) "[^>] *> (. *) <\/a>/isU ';
My problem is
Is there any way to match two regular expressions ?????
The result string is
HTML code
Mccailin Meilihui brand shopping V + discount Ihaveu Go xiun.com Top product discount Network Metersbonwe Mall
------ Solution --------------------
You can see the one I used last time. my one is generic, but you are useless ..... I have already made it generic...