I have a huge xml file, where i need to find and replace some parts. In total it occurs around 2100 times, so i hoped i could solve this by using the advanced tools in Notepad++.
It doesnt have to be notepad++, so if there is another solution, im helped as well.

The find occurrence looks like this:

```
        <condition test="contains" flags="90">
          <category>
            <name internal="Type">Type</name>
          </category>
          <property>
            <name internal="parameter">Code</name>
          </property>
          <value>
            <data type="wstring">21.12</data>
          </value>
        </condition>

```

Everything is consistent, except for the number in the data part `21.12`
This number is different in all the 2100 cases.

So i want to Find and replace, but ise that number as some kind of wildcard that is used in the find AND replace.
The part where i have to find works as it should be with regex ([Replace using RegEx in notepad++](https://stackoverflow.com/questions/13195217/replace-using-regex-in-notepad) ). But i am not able to paste the part of the regex.

So in short, if my code looks like this:

```
<code>6</code>
<code>7</code>
<code>8</code>

```

i want to find/replace to make it look like this:

```
<code>6</code>
<extraCode>6</extraCode>
<code>7</code>
<extraCode>7</extraCode>
<code>8</code>
<extraCode>8</extraCode>

```

Would this be possible, of would i need some other software, or make some C# script to do this?