Title |
Test
Find
html <a> cut on php
|
Expression |
<a[\s]+[^>]*?.*?>([^<]+|.*?)?<\/a> |
Description |
for cut links on PHP
$text = preg_replace("/<a[\s]+[^>]*?.*?>([^<]+|.*?)?<\/a>/s","",$text); |
Matches |
<a href="http://www.tss-s.ru/index.php?option=com_content&task=view&id=170&Itemid=75">КАЗАХСТАН</a> |
Non-Matches |
<a href="http://www.tss-s.ru/index.php?option=com_content&task=view&id=170&Itemid=75">КАЗАХСТАН< /a> |
Author |
Rating:
Not yet rated.
Sergey Stremidlo
|
Source |
|
Your Rating |
|