adding backspace behavior, and adding magic option for regex handling
modifying default TOhtml behavior