ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Fuller <jim.ful...@ruminate.co.uk>
Subject Re: regular expression help
Date Tue, 02 Aug 2005 13:11:09 GMT
hind.lwahhabi@accenture.com wrote:

>Hello guys;
>I would like some help for the following.
>Using <propertyregexp> how would you perform the following:
>
>input string="Foo Bar Jeff Blabla"
>replacing prefix="myPrefix"
>result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla"
>  
>
 \w* should match every word or u could use the ^ method.


I normally use something like this to match words
/\b([A-Za-z]+)\b


gl, Jim Fuller




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message