^start of line
Non-Capturing Group(?:https?:\/\/)? ?repeats the group contents below at most once:
httpthe literal text http (case sensitive) s?optionally matches the literal s (11510 / 1638 / 7316) (case sensitive)
:the literal : (5810 / 728 / 3A16)
\/the literal / (4710 / 578 / 2F16)
\/the literal / (4710 / 578 / 2F16)
Non-Capturing Group(?:(?:www|m)\.)? ?repeats the group contents below at most once:
Non-Capturing Group(?:www|m) wwwthe literal text www (case sensitive) mthe literal m (10910 / 1558 / 6D16) (case sensitive)
\.the literal . (4610 / 568 / 2E16)
twitterthe literal text twitter (case sensitive) \.the literal . (4610 / 568 / 2E16)
comthe literal text com (case sensitive) \/the literal / (4710 / 578 / 2F16)
\w+any word character, repeated at least once
\/the literal / (4710 / 578 / 2F16)
statusthe literal text status (case sensitive) \/the literal / (4710 / 578 / 2F16)
\d+a digit, repeated at least once
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