View Single Post
Old 11-28-2006, 02:37 PM  
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
Regex and preg experts please

Guys I am trying to use preg to pull a string in.
The string starts with src=" and ends with image.jpg

The middle is variable. I need to pull the entire string using the start and end of it from a page I am fopen-ing. This page is stored in a string. So I have the data here but it's a full html page. So I am going into $source, and I am trying to pull that specific string.

Anyone have some suggestions? It would be a snap if I knew what the middle of the string was, but it's *.

Thanks!
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote