Scot & Bill, many thanks, that did the trick perfectly.
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: vrijdag 10 november 2006 17:36
To: Ant Users List
Subject: Re: propertyregex regexp construct question
Rémon:
Set regexp = "([^-]+)-([^-]+)(-(.
The following reg ex should work for you:
[^-]*-[^-]*-(.*)
You will need to adjust it so it works in by adding
appropriate escapes.
I use the RegexCoach tool to check reg exs. It is available from
http://weitz.de/regex-coach.
HTH Bill
-Original Message-
From: Rémon van Gijn [mailto:[EM
Rémon:
Set regexp = "([^-]+)-([^-]+)(-(.*))"
and select = "\3"
This assumes a pattern where you have some chars, a dash, some more
chars and then a final dash...
Scot
Rémon van Gijn wrote:
Hi
I want to use the propertyregex (ant-contrib) to lean up a string:
PCS-VARIABLEAPPNAME-2.8.3-85