\ban ASCII word boundary
Positive Lookahead(?=[A-Z]{3}\b) {3}matches exactly 3 characters from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
\ban ASCII word boundary
A?optionally matches the literal A (6510 / 1018 / 4116) (case sensitive)
B-Zone character from B (6610) to Z (9010) (case sensitive)
A?optionally matches the literal A (6510 / 1018 / 4116) (case sensitive)
\1the text saved by group 1
A?optionally matches the literal A (6510 / 1018 / 4116) (case sensitive)
\ban ASCII word boundary
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string