note 67969 added to function.preg-replace

From: Date: Fri, 07 Jul 2006 17:30:07 +0000
Subject: note 67969 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-114565@lists.php.net to get a copy of this message
I need a regular expression that trasform src="images/1.jpg" in src="THEMES/images/1.jpg" and ignore: src="images/1.jpg#" and src="http://images/1.jpg" that remain the same. Can you help me? ---- Server IP: 66.163.161.117 Probable Submitter: 87.17.107.122 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- http://master.php.net/note/edit/67969 Del: integrated -- http://master.php.net/note/delete/67969/integrated Del: useless -- http://master.php.net/note/delete/67969/useless Del: bad code -- http://master.php.net/note/delete/67969/bad+code Del: spam -- http://master.php.net/note/delete/67969/spam Del: non-english -- http://master.php.net/note/delete/67969/non-english Del: in docs -- http://master.php.net/note/delete/67969/in+docs Del: other reasons-- http://master.php.net/note/delete/67969 Reject -- http://master.php.net/note/reject/67969 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114565) next »