RegEx Examples: Filename Alignment Overide

In BC, the syntax is more of an ode to Regex than it is full-on Unix Regex.

From the menu, choosing Rules->Misc->AlignmentOveride->[+] we would put

LEFT (\w+)(\d+).txt

RIGHT $1_$2.log

where the $1 and $2 are the captured text from the left side.

The logic under the BC hood is roughly shown in the screenshot below.

More RegEx examples: https://beyondcompare.gitbook.io/project/text-compare/how-to-use-regular-expressions-in-beyond-compare-to-ignore-trivial-differences-like-timestamps