^start of line
NEMthe literal text NEM (case sensitive) .any character (except for line terminators)
Character Class[A-Z0-9]{3} {3}matches exactly 3 characters from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
.any character (except for line terminators)
Character Class[A-Z0-9]{3,6} {3,6}matches between 3 and 6 characters from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
.any character (except for line terminators)
{3}matches exactly 3 characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
.any character (except for line terminators)
Character Class[0-9]{1,3} {1,3}matches between 1 and 3 characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
$end of line
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