\(the literal ( (4010 / 508 / 2816)
\w{4}a Unicode word character, repeated exactly 4 times
,the literal , (4410 / 548 / 2C16)
\w{4}a Unicode word character, repeated exactly 4 times
\)the literal ) (4110 / 518 / 2916)
the literal (3210 / 408 / 2016)
Non-Capturing Group(?:\w+|na) \w+a Unicode word character, repeated at least once
nathe literal text na (case sensitive) the literal (3210 / 408 / 2016)
Non-Capturing Group(?:\[(.*?)\])? ?repeats the group contents below at most once:
\[the literal [ (9110 / 1338 / 5B16)
.*?any Unicode character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
.*any Unicode character (except for line terminators), repeated any number of times
#the literal # (3510 / 438 / 2316)
.*any Unicode character (except for line terminators), repeated any number of times
the literal (3210 / 408 / 2016)
\w+a Unicode word character, repeated at least once
$end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first