Rumah >pembangunan bahagian belakang >tutorial php > 求教 获取如下href的正则要如何写
求教 获取如下href的正则要怎么写
<br /> test.html<br /> <!DOCTYPE html><br /> <html><br /> <head>test</head><br /> <body><br /> <a id="a5" href="111">wawa</a><br /> <a id="a6" href="222">hehe</a><br /> <a id="a7" href="333">haha</a><br /> <a id="a8" href="444">uuuu</a><br /> ......<br /> <b><br /> <a id="a1" href="111">wawa</a><br /> <a id="a2" href="222">hehe</a><br /> <a id="a3" href="333">haha</a><br /> <a id="a4" href="444">uuuu</a><br /> </b> <br /> ........<br /> </body><br /> </html><br />