Jonathan said... Awesome! Undo is pretty essential though. When editing large blocks of text, it's very easy to highlight more than you meant to and you not being able to undo would be a killer. 8/30/2006 11:39 AM Unknown said... the // comments regex is incorrect on php.... should be: /([^:])\/\/(.*?)(<br>|<\/P>)/g,'$1//$2$3' you aren't properly preusing the white space before the comment! FYI! 9