[PHP] Wyrażenia regularne - wyluskanie adresu
: pt mar 17, 2006 3:57 pm
Witam,
Jak zwykle nie moge sobie poradzic z regularnymi, kombinuje kombinuje i nic..
potrzebuje wyluskac sama sciezke z
"javascript:if(confirm('http://ftp.icpdas.com.tw/pub/cd/8000cd/ ... 000dio.pdf \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the...."
Stanąłem na tym :
[php]
$con = preg_replace( "%\confirm('(.*?)? \n\%e", "$1", $con );
[/php]
Jesli ktoś pomoze bede wdzięczny
Jak zwykle nie moge sobie poradzic z regularnymi, kombinuje kombinuje i nic..
potrzebuje wyluskac sama sciezke z
"javascript:if(confirm('http://ftp.icpdas.com.tw/pub/cd/8000cd/ ... 000dio.pdf \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the...."
Stanąłem na tym :
[php]
$con = preg_replace( "%\confirm('(.*?)? \n\%e", "$1", $con );
[/php]
Jesli ktoś pomoze bede wdzięczny