FW: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
Hind Lwahhabi. -Original Message- From: Lwahhabi, Hind Sent: Tue 8/2/2005 4:34 PM To: Ant Users List Patrick Martin Subject: RE: regular expression help+tokens instead of words no because the line does not start with a blank. thanks anyway:) i have solved my problem(see my previous

Re: regular expression help+tokens instead of words

2005-08-02 Thread Patrick Martin
Hi, You could try to replace the blank character by ' myPrefix' (not the blank before myPrefix). Patrick Martin On 8/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > thanks Ahmed it works for the sample string i provided. > My question is how can you avoid special characters e.g instead o

solved: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
ok i just modified with following:regexp="([0-9A-Z\/\.a-z]+)" thanks again for your help guys! Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 3:58 PM To: user@ant.apache.org Subject: RE: regular expression help+toke

RE: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
thanks Ahmed it works for the sample string i provided. My question is how can you avoid special characters e.g instead of Foo Bar blabla , you have: input string=foo/bar.ext foo/some1.ext. The goal is to match the tokens separated by blank space and not words. Thanks for any help! Hind Lwahha