You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Gustavo Narea <gn...@tech.2degreesnetwork.com> on 2010/06/29 13:35:23 UTC

Filter property value with regular expression

Hello,

I haven't been able to find a way to filter the value of a property with
regular expressions. Is there any way to do it with Ant 1.7?

I need something like this, but without using 3rd party dependencies:
http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html

Basically, I just want to keep the alphanumeric characters in a
property, ignoring punctuation marks and other things.

Thanks in advance.

-- 
Gustavo Narea.
Software Developer.
2degrees, Ltd. <http://dev.2degreesnetwork.com/>.


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