<?xml version="1.0" encoding="windows-1252"?>
<node id="1011251" title="Re: Remove digits from a string and add timestamp to the result" created="2013-01-02 06:43:53" updated="2013-01-02 06:43:53">
<type id="11">
note</type>
<author id="505944">
sen</author>
<data>
<field name="doctext">
&lt;p&gt;Hi Sunil,

If i understand your requirement correclty, 
&lt;p&gt;try this,
&lt;code&gt;Customer_."$timestmp"._100&lt;/code&gt;
&lt;br&gt;
&lt;br&gt;
&lt;B&gt;Update:&lt;/B&gt;
&lt;code&gt;
$a=Customer100;
$b=20130201;
$a=~ /(.*?)(\d+)/;
$a= $1."_".$b."_".$2;
print $a;
&lt;/code&gt;

&lt;B&gt;Update1:&lt;/B&gt;
&lt;code&gt;
$a=~ s/(.*?)(\d+)/$1\_$b\_$2/;
&lt;/code&gt;
</field>
<field name="root_node">
1011248</field>
<field name="parent_node">
1011248</field>
</data>
</node>
