Page 1 of 1

How do I say NO LINE BREAKS in regex?

Posted: Tue Jul 22, 2008 2:44 am
by McMillian
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

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

Posted: Tue Jul 22, 2008 3:25 am
by McMillian
I ended up using \S