Convert time token is the answer:

<do-trace-message>
<arg-string>
<token-convert-time dest-format="MM/dd/yyyy" src-format="!SHORT.DATE">
<token-op-attr name="Given Name"/>
</token-convert-time>
</arg-string>
</do-trace-message>

Substitute given name for your attribute.

On 7/17/2012 3:16 PM, s novell wrote:
>
> Hello All,
> I have a date attribute coming from csv and it could be any of the
> following format...
>
> 01/01/2012
> 1/01/2012
> 01/1/2012
> 1/1/2012
>
> and I wanted to normalize it to 01/01/2012 (dd/mm/yyyy) format using
> regex or any other way. Could someone help me with it.
>
> Thanks
>
>