Or use \s to match white-space including new-lines.

Beware of using * - it is greedy, and may match more than you intended.

On 18/05/06, Abadzic, Amela <[EMAIL PROTECTED]> wrote:
prefix your regex with (?s)

-----Original Message-----
From: R R [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 6:40 AM
To: [email protected]
Subject: regexp help

Hi,

I am having trouble getting a regexp to work.

The server returns data that can have /n or /r not sure which it is. So

Text delimit X X
X X delimit Text Text

I am using regexp TextText More Text delimit (.*?) delmit but this does
not
work due to the line feed carrige return.

If I get rid of that from server it works as expected so

Text delimit X X X X delimit Text Text

Returns X X X X as desired. Is there a way I can stick a /s in this so
that
it ignores the /n /r stuff?

Thanx

R

_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN
Messenger
7.5 today! http://join.msn.com/messenger/overview


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to