Search found 3 matches

by McMillian
Tue Jul 22, 2008 3:25 am
Forum: PHP - Code
Topic: How do I say NO LINE BREAKS in regex?
Replies: 1
Views: 146

Re: How do I say NO LINE BREAKS in regex?

I ended up using \S
by McMillian
Tue Jul 22, 2008 2:44 am
Forum: PHP - Code
Topic: How do I say NO LINE BREAKS in regex?
Replies: 1
Views: 146

How do I say NO LINE BREAKS in regex?

let's say I want to find the first instance of a link on this page, so I want to search for a link format and specify no line breaks in the match:

'|http://.[^\n\r]*\..{3}|'


except that's not right, so how do i do it
by McMillian
Tue Jul 22, 2008 1:55 am
Forum: PHP - Code
Topic: I need a way to treat the result of a curl session as a stri
Replies: 1
Views: 138

I need a way to treat the result of a curl session as a stri

ng?? I guess that's what I'm trying to do I have a curl script that when it runs, runs a page from megaupload via my premium account cookie I want to pick through the source code with preg_matches to pull out what I need, and I have the code all figured out but I don't know how to search the returne...