I would like to search and replace an xml file with the ini content, but i am getting incorrect answer in my bb.xml with the same regular expression syntax without replacement.

My ini file
-----------
myPara para
lPara last_para
<mySeca>([0-9]+). <sec id=\"$1\">

My XML file.
-----------
Code:
<myPara>dsa fhasdjkh fjaksdhkjfh asjkdhfjk lashdkjfh ajksdhf jkasdhfjka
...