\"the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
\s*a Unicode whitespace character, repeated any number of times
Group 2((?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)(?:\.(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,})))|localhost)(?::\d{2,5})?(?:\/(?:(?!\1|\s)[\S\s])*)?) Non-Capturing Group(?:(?:https?|ftp):\/\/) Non-Capturing Group(?:https?|ftp) httpthe literal text http (case sensitive) s?optionally matches the literal s (11510 / 1638 / 7316) (case sensitive)
ftpthe literal text ftp (case sensitive) :the literal : (5810 / 728 / 3A16)
\/the literal / (4710 / 578 / 2F16)
\/the literal / (4710 / 578 / 2F16)
Non-Capturing Group(?:\S+(?::\S*)?@)? ?repeats the group contents below at most once:
\S+any character that is not Unicode whitespace, repeated at least once
Non-Capturing Group(?::\S*)? ?repeats the group contents below at most once:
:the literal : (5810 / 728 / 3A16)
\S*any character that is not Unicode whitespace, repeated any number of times
@the literal @ (6410 / 1008 / 4016)
Non-Capturing Group(?:(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)(?:\.(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,})))|localhost) 1st Alternative(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)(?:\.(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,}))) Non-Capturing Group(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)(?:\.(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,}))) 1st Alternative(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4])) Non-Capturing Group(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3]) 1-9one character from 1 (4910) to 9 (5710)
\d?optionally matches a Unicode decimal digit
1the literal 1 (4910 / 618 / 3116)
\da Unicode decimal digit
\da Unicode decimal digit
2the literal 2 (5010 / 628 / 3216)
0the literal 0 (4810 / 608 / 3016)
1the literal 1 (4910 / 618 / 3116)
\da Unicode decimal digit
0-3one character from 0 (4810) to 3 (5110)
Non-Capturing Group(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2} {2}repeats the group contents below exactly 2 times:
\.the literal . (4610 / 568 / 2E16)
Non-Capturing Group(?:1?\d{1,2}|2[0-4]\d|25[0-5]) 1?optionally matches the literal 1 (4910 / 618 / 3116)
\d{1,2}a Unicode decimal digit, repeated between 1 and 2 times
2the literal 2 (5010 / 628 / 3216)
\da Unicode decimal digit
Non-Capturing Group(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4])) 2nd Alternative(?:(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)(?:\.(?:[a-zA-Z0-9\u00a1-\uffff]+-?)*[a-zA-Z0-9\u00a1-\uffff]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,})) Non-Capturing Group(?::\d{2,5})? Non-Capturing Group(?:\/(?:(?!\1|\s)[\S\s])*)? \s*a Unicode whitespace character, repeated any number of times
\1the text saved by group 1
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