Jump to content


Photo

preg_replace


  • Please log in to reply
No replies to this topic

#1 hunter

hunter
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 March 2006 - 01:45 AM

[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
<h2>bacon</h2>
and after the definition out.... that would be
<p>&nbsp;&nbsp;<font size=-1>
and following.... but i'm not good at regexps particulaly in php, would someone please show me how to do this?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users