hunter Posted March 27, 2006 Share Posted March 27, 2006 [a href=\"http://www.askoxford.com/concise_oed/bacon?view=uk\" target=\"_blank\"]http://www.askoxford.com/concise_oed/bacon?view=uk[/a]i got the source of that page, and i want to get everything before [code]<h2>bacon</h2>[/code] and after the definition out.... that would be [code]<p> <font size=-1>[/code] and following.... but i'm not good at regexps particulaly in php, would someone please show me how to do this? Link to comment https://forums.phpfreaks.com/topic/5895-preg_replace/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.