To match one or more occurances of your \x1B character try using this string "\x20\x1B+\x0A".

The plus sign will make the RegEx engine match one or more of the preceding character.

So for a single pass you may use something like:
"\x20\x1B+\x0A|\x1B+"

In my initial testing the RegEx engine properly found the longer string first. Your milage may vary.
_________________________
Home page: http://www.kixhelp.com/hb/