^ asserts position at start of a lineLines are delimited by \n
https: matches the characters https: literally (case sensitive)
\/ matches the character / literally (case sensitive)
\/ matches the character / literally (case sensitive)
Non-capturing group (?:www\.)?
? matches the previous token between zero and one times, as many times as possible, giving back as needed (greedy)
www matches the characters www literally (case sensitive)
\. matches the character . literally (case sensitive)
kuula matches the characters kuula literally (case sensitive)
. matches any character (except for line terminators)Line terminator(s) are \n
co matches the characters co literally (case sensitive)
\/ matches the character / literally (case sensitive)
share matches the characters share literally (case sensitive)
\/ matches the character / literally (case sensitive)
Non-capturing group (?:[A-Za-z0-9]\/)?
Non-capturing group (?:collection\/)?
1st Capturing Group ([A-Za-z0-9])
2nd Capturing Group (\?.)?
$ asserts position at the end of a lineLines are delimited by \n
g modifier: global. All matches (don't return after first match)
m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)