Fixes very slow report generation  

With this fix our report generation goes from 30 minutes to 2 seconds. The problem is U2U method is invoking replaceAll for each occurrence of the word to be replaced.
Matching again the document avoids this problem.