^start of line
*matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
pthe literal p (11210 / 1608 / 7016) (case sensitive)
.any character (except for line terminators)
tthe literal t (11610 / 1648 / 7416) (case sensitive)
.?optionally matches any character (except for line terminators)
*matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
$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