How to remove Parameters and Filters in a T-SQL?
ClearTrace will do the thing you need. Its free to download as well.


  Normalized SQL Statements
  ClearTrace "normalizes" the SQL statements to eliminate transient differences in SQL statements.  For example, the following statement
  
  Select * From qryLinksByNewsletterID Where NewsletterID=19
  
  is normalized to
  
  SELECT * FROM QRYLINKSBYNEWSLETTERID WHERE NEWSLETTERID={##}