Jump to content

Archived

This topic is now archived and is closed to further replies.

hunter

preg_replace

Recommended Posts

[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>&nbsp;&nbsp;<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?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.