Just a quick note-to-self…
Find all non-commented trace statements:
^(?<!\/\/)[\s]*trace\(
Inject GET param onto end of a URL and preserve any existing params. (must have file extension):
myURL.replace( /(?<=\.\w{3})\??(.*)$/i, '?d=' + new Date().time + '&$1' );