^start of line
wwwthe literal text www (case sensitive) .any character (except for line terminators)
examplethe literal text example (case sensitive) .any character (except for line terminators)
comthe literal text com (case sensitive) \/the literal / (4710 / 578 / 2F16)
\S+any non-whitespace character, repeated at least once
\/the literal / (4710 / 578 / 2F16)
categorythe literal text category (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