
darklexus2k9
-
Posts
36 -
Joined
-
Last visited
Community Answers
-
darklexus2k9's post in Regex help replacing text in multiple lines of text file was marked as the answer
i think what you want todo is really easy and can be done with one simple line of regex
preg_replace("/href=\"http:\/\/www.domain.com\/entry.php\/(.*?)\/(.*?)\"/", "href="{EntryNumber=$01.link}"", $input_data);
you can see this working at the following link : http://www.phpliveregex.com/p/jGr