Could you tell me how I would write a regular expression for the string below in ant? I have a property called typeSplitFirstPart. I want to insert a couple of values after the property typeSplitFirstPart which can either be Product_A or Product_PD or Product_CD (see below).
CSDT_FLAG_PRODUCT_FF_FWUIDS=Product_A:*;Product_PD:*;Product_CD:*
Currently I have this, but it is not working.
<replaceregexp file="x" flags="s" match="([^\.]*)\$\{typeSplitFirstPart:\*?\}([^\.]*)" replace="$HELLOEVERYONE\2"/>