AntContrib: propertyregexp
match: ','
replace: ' '
flags: g
Jan
> -----Ursprüngliche Nachricht-----
> Von: Ninju Bohra [mailto:ninju_bohra@yahoo.com]
> Gesendet am: Mittwoch, 9. Februar 2005 16:35
> An: Ant Users Group
> Betreff: How to convert commas into spaces
>
> Hey Guys (and gals),
>
> I have this property with a comma delimited list of values
> (file names)
>
> <property name="sql.file.names"
> value="base.sql,application.sql,report.sql,auxiliary.sql"/>
>
> and I need to create another property (let's call it
> sql.file.names.spaced) with the same set of text but with the
> commas replaced with spaces.
>
> Any regex experts out there... or any other ANT way of doing it....
>
> Thanx,
>
> Ninju
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
|