See Advanced - Configuration - Search - Regular Expression Engine which engine/style you use for regular expression searches and replaces.
The following macro solution needs the macro property
Continue if a Find with Replace not found checked.
You can read in my second post at
multiple files conversions help how to create a new macro and paste the following code into it.
InsertMode
ColumnModeOff
HexOff
UnixReOff
Top
Find MatchCase RegExp "%^(AA???????????????????????????????????????????????^)01"
Replace All "^100"
Find MatchCase RegExp "%^(AB???????????????????????????????????????????????^)01"
Replace All "^100"
... and so on for all your combinationsAdd UnixReOn or PerlReOn (v12+ of UE) at the end of the macro if you do not use UltraEdit style regular expressions by default - see search configuration. Macro command UnixReOff sets the regular expression option to UltraEdit style.
Well, the 2 regex above could be also combined to a single one:
Find MatchCase RegExp "%^(A
[AB]???????????????????????????????????????????????^)01"
Replace All "^100"
See help of UltraEdit about the
Find command and the
Regular expressions to understand these regular expressions.