On 02/01/12 05:43, narenvudugu wrote:

Please Find updated Post!!!!!

I am trying to allow complete incoming input and extract last element name
from the input ServiceURL path (usaly separated by /),please find below
script which is not  working for me.......please help as soon as
possible.....

<propertyregex property="business.name" input="${ServiceURL}"
 select="\0" override="true" casesensitive="false"/>


I don't know the task type, but a simple dollar sign at the end of the regular expression should select the last component, i.e.

  regexp="([^/]+)$"

Klaus

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

Reply via email to