Java string replaceAll method
<p>hi i want to use Java string replaceAll() method to replace "x3" with "multiplied by 3" in my text file. But there is a string occurence "xxx3" which i do not want to replace. how can I do it</p>

<p>Example :</p>

<pre><code>        ACTUAL                                     DESIRED  
1)ENGAGE XX3 COLOGNE 165ML          ENGAGE XX3 COLOGNE 165ML
2)FDW MEN REFRESHING PULSE 125GMSX3   FDW MEN REFRESHING PULSE 125GMS multuiplied by 3
</code></pre>