Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $str = 'Si vous recherchez des informations sur la forêt des Pays de la l\
- oire, vous pouvez consulter le <a href="/content/schema-regional-de-gestion-syl\
- vicole">schéma régional de gestion sylvicole</a>. </p><p>&nb\
- sp;</p><p><img alt="" src="/drupal/sites/default/files/images/pefc.gif" style="\
- width: 110px; height: 118px; " /></p>';
- echo(preg_replace('/".*?\/(sites\/.+?)"/', '"internal:$1"', $str)."\n");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement