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}" regexp="([^/]+)" select="\0" override="true" casesensitive="false"/> ServiceURL may contain url like abc/hello/world/etc.... -- View this message in context: http://ant.1045680.n5.nabble.com/propertyregex-Extraction-of-last-element-in-the-PATH-tp5109384p5114022.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org