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? Quote Link to comment https://forums.phpfreaks.com/topic/5895-preg_replace/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.