Regex used was a simple/flag Or list,
Regex: (count|SUBSET|Hold|Then|Else|end|subset|Concat|if|\beq\b|int|trim)
Replacement: \u\L$1This is done with the modifiers
\u\U\l\L, where\uand\lwill upper/lowercase a single character, and\Uand\Lwill upper/lowercase the rest of the matching group.
The modifiers can also be stacked - for example,
\u\u\u$1will uppercase the first three characters of the group, or\l\U$1will lowercase the first character, and uppercase the rest. The capture group is referenced by$nin the replacement string, where n is the order of the capture group
For example: Compare the final capitalization
regex : (bat|man|batman)
pattern: batman
result : BatManregex : (batman|bat|man)
pattern: batman
result : Batman