On 3 January 2012 14:49, Swindells, Thomas <TSwindells@nds.com> wrote:
It will work
Rule "Wild char validation"
When
c: CustomerInfo(name : customerName matches ".*([\*#].*") //any string containing a * or a #
then
modify(c) {
setCustomerName(name.replaceAll("[\*#]", "")); //replace any * or # with ""
}
end