Sorry for the OT post, just a quick question which must have an answer so
simple I'm an idiot, but I just can't figure it out. Given an arbitrary
string, how do I match every character until I reach a specific string?

If I have:

The quick brown fox jumps over the lazy dog

How do I match everything up to say " lazy" so that my match is

The quick brown fox jumps over the

I feel like a total idiot for now knowing, and it's driving me crazy.

-J
-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to