^start of string
Group 1((8|\+994|\+374|\+375|\+7|\+996|\+373|\+992|\+993\+998)[-\s]?)? ?repeats the group contents below at most once:
Group 2(8|\+994|\+374|\+375|\+7|\+996|\+373|\+992|\+993\+998) 8the literal 8 (5610 / 708 / 3816)
\+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
7the literal 7 (5510 / 678 / 3716)
\+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
9th Alternative\+993\+998 \+the literal + (4310 / 538 / 2B16)
\+the literal + (4310 / 538 / 2B16)
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\(?optionally matches the literal ( (4010 / 508 / 2816)
\d{3,5}a digit, repeated between 3 and 5 times
\)?optionally matches the literal ) (4110 / 518 / 2916)
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
Group 3(([-\s]?\d{1})?[-\s]?\d{1})? ?repeats the group contents below at most once:
?repeats the group contents below at most once:
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
?matches at most one character from the set below:
-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\d{1}a digit, repeated exactly 1 time
$end of string, or before its final line terminator