Re: [PHP] Little regex help please...

2008-10-14 Thread Richard Heyes
> /http:\/\/www\.asdf\.com\/blah\/foobar\.php/i ... looks like a zig-zaggy > mess. :) Perhaps it was meant to... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Little regex help please...

2008-10-13 Thread Ryan S
Thanks guys, I appreciate the help. Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Little regex help please...

2008-10-13 Thread Boyd, Todd M.
> -Original Message- > From: Jim Lucas [mailto:[EMAIL PROTECTED] > Sent: Monday, October 13, 2008 12:13 PM > To: Ryan S > Cc: Eric Butera; Boyd, Todd M.; php php > Subject: Re: [PHP] Little regex help please... > > Too quick on the reply > > forgot not

RE: [PHP] Little regex help please...

2008-10-13 Thread Leon du Plessis
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: 13 October 2008 07:09 PM To: Eric Butera; Boyd, Todd M. Cc: php php Subject: Re: [PHP] Little regex help please... Hey Todd, Eric, Thanks for replying. > I don't believe you need both the / and the # for delim

Re: [PHP] Little regex help please...

2008-10-13 Thread Eric Butera
On Mon, Oct 13, 2008 at 1:04 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Eric Butera [mailto:[EMAIL PROTECTED] >> Sent: Monday, October 13, 2008 12:00 PM >> To: Boyd, Todd M. >> Cc: Ryan S; php php >> Subject: Re:

Re: [PHP] Little regex help please...

2008-10-13 Thread Jim Lucas
Ryan S wrote: > Hey Todd, Eric, > > Thanks for replying. > >> I don't believe you need both the / and the # for delimiters in your >> RegEx. Try using just # (since / is actually going to be in the text >> you're searching for) like this: >> >> > $data = >> file_get_contents("http://www.youtube.

Re: [PHP] Little regex help please...

2008-10-13 Thread Jim Lucas
Ryan S wrote: > Hey Todd, Eric, > > Thanks for replying. > >> I don't believe you need both the / and the # for delimiters in your >> RegEx. Try using just # (since / is actually going to be in the text >> you're searching for) like this: >> >> > $data = >> file_get_contents("http://www.youtube.

Re: [PHP] Little regex help please...

2008-10-13 Thread Ryan S
Hey Todd, Eric, Thanks for replying. > I don't believe you need both the / and the # for delimiters in your > RegEx. Try using just # (since / is actually going to be in the text > you're searching for) like this: > > $data = > file_get_contents("http://www.youtube.com/watch?v=oQ2dKXGAjNg";); >

RE: [PHP] Little regex help please...

2008-10-13 Thread Boyd, Todd M.
> -Original Message- > From: Eric Butera [mailto:[EMAIL PROTECTED] > Sent: Monday, October 13, 2008 12:00 PM > To: Boyd, Todd M. > Cc: Ryan S; php php > Subject: Re: [PHP] Little regex help please... > > On Mon, Oct 13, 2008 at 12:52 PM, Boyd, Todd M. <[EMAIL

Re: [PHP] Little regex help please...

2008-10-13 Thread Eric Butera
On Mon, Oct 13, 2008 at 12:52 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Ryan S [mailto:[EMAIL PROTECTED] >> Sent: Monday, October 13, 2008 11:33 AM >> To: php php >> Subject: [PHP] Little regex help please... >> >> Hello! >> >> Here's a regex that I got off

RE: [PHP] Little regex help please...

2008-10-13 Thread Boyd, Todd M.
> -Original Message- > From: Ryan S [mailto:[EMAIL PROTECTED] > Sent: Monday, October 13, 2008 11:33 AM > To: php php > Subject: [PHP] Little regex help please... > > Hello! > > Here's a regex that I got off the web that I am trying to modify for my > needs, I suck at regex so desperately