Next problem... In my pages there might be onclick events named by ASP.NET or DNN that look like this (noteably the View, Edit, Design radio buttons): onclick="javascript:setTimeout('__doPostBack(\'IconBar.ascx$optMode$0\',\'\')', 0)"Notice the event postback text contains $0 (may also contain $1, $2 etc) This is the replace group placeholder in regex. During one of my rules, I replace everything before the end body tag. What is happening is that my text file replaces the $0 in the onclick event ($0) above! In effect, the textfile gets inserted into the middle of the page at the onclick location. It also gets placed correctly at the bottom of the HTML just before the end body tag. This worked fine with 2.0 Here is my rule (change angle brackets to square so they will show): Search For: [/body] Replace With: [ RE:LoadFile(C:\Site\js\PreBodyEnd.txt) ][/body] |