Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
g

Test String

Code Generator

Generated Code

#include <StringConstants.au3> ; to declare the Constants of StringRegExp #include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate Local $sRegex = "([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])){3}\/\d+" Local $sString = "LG " & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "MegaFon Looking Glass - show bgp 10.249.0.0/16" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "Router: MSK-VRR-1 Moscow " & @CRLF & _ "Command: show route protocol bgp 10.249.0.0/16 table bgp.l3vpn.0 det | no-more " & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "bgp.l3vpn.0: 228890 destinations, 628337 routes (227275 active, 0 holddown, 5064 hidden)" & @CRLF & _ "Restart Complete" & @CRLF & _ "83.149.11.41:100:10.249.50.224/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.41:100:10.249.50.232/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.41:100:10.249.50.248/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.41:100:10.249.150.224/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.41:100:10.249.150.232/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.41:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68a78c" & @CRLF & _ " Next-hop reference count: 267" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.41" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:57:04 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.42:100:10.249.50.224/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.42:100:10.249.50.232/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.42:100:10.249.50.248/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.42:100:10.249.150.224/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.42:100:10.249.150.232/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.42:100" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68ab1c" & @CRLF & _ " Next-hop reference count: 258" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.42" & @CRLF & _ " Push 17" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 2w2d 16:56:39 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 31133:100 target:25159:25159 target:64690:100 target:64999:15 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 17" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.65:1065:10.249.28.168/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.65:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68bcec" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.65" & @CRLF & _ " Push 27775" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 28w0d 0:58:33 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27775" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.65:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68bcec" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.65" & @CRLF & _ " Push 27775" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 28w0d 0:58:44 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27775" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.65:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0xa68bcec" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.65" & @CRLF & _ " Push 27775" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 12w0d 2:17:42 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27775" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.66:1065:10.249.28.168/29 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.66:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x9ed8860" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.66" & @CRLF & _ " Push 27764" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 28w0d 0:58:34 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27764" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.66:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x9ed8860" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.66" & @CRLF & _ " Push 27764" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 28w0d 0:58:49 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27764" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.66:1065" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x9ed8860" & @CRLF & _ " Next-hop reference count: 3" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.66" & @CRLF & _ " Push 27764" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 12w0d 2:17:42 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 ?" & @CRLF & _ " Communities: 25159:64666 31133:100 target:64999:1065 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 27764" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.101:1039:10.249.64.0/18 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 170/-101" & @CRLF & _ " Route Distinguisher: 83.149.11.101:1039" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x10fb4d20" & @CRLF & _ " Next-hop reference count: 12" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.101" & @CRLF & _ " Push 63" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 8w5d 3:07:17 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 64626 ?" & @CRLF & _ " Communities: 31133:100 target:64999:1039 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 63" & @CRLF & _ " Localpref: 100" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-101" & @CRLF & _ " Route Distinguisher: 83.149.11.101:1039" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x10fb4d20" & @CRLF & _ " Next-hop reference count: 12" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.101" & @CRLF & _ " Push 63" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Active preferred" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 8w5d 3:07:17 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " AS path: 25159 64626 ?" & @CRLF & _ " Communities: 31133:100 target:64999:1039 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 63" & @CRLF & _ " Localpref: 100" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-101" & @CRLF & _ " Route Distinguisher: 83.149.11.101:1039" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x10fb4d20" & @CRLF & _ " Next-hop reference count: 12" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.101" & @CRLF & _ " Push 63" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Not Best in its group - Interior > Exterior > Exterior via Interior" & @CRLF & _ " Local AS: 31133 Peer AS: 31133" & @CRLF & _ " Age: 8w5d 3:07:17 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_31133.10.222.253.245+???" & @CRLF & _ " AS path: 25159 64626 ?" & @CRLF & _ " Communities: 31133:100 target:64999:1039 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 63" & @CRLF & _ " Localpref: 100" & @CRLF & _ " Router ID: 10.222.253.245" & @CRLF & _ "" & @CRLF & _ "83.149.11.120:196:10.249.109.0/24 (3 entries, 1 announced)" & @CRLF & _ " *BGP Preference: 169/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.120:196" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x11399fd4" & @CRLF & _ " Next-hop reference count: 6" & @CRLF & _ " Source: 83.149.11.251" & @CRLF & _ " Protocol next hop: 83.149.11.120" & @CRLF & _ " Push 33" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Active Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 11w2d 1:53:58 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.251+???" & @CRLF & _ " Announcement bits (1): 0-BGP_RT_Background " & @CRLF & _ " AS path: 25159 I" & @CRLF & _ " Communities: 31133:100 target:64999:196 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 33" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.251" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.120:196" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x11399fd4" & @CRLF & _ " Next-hop reference count: 6" & @CRLF & _ " Source: 83.149.11.252" & @CRLF & _ " Protocol next hop: 83.149.11.120" & @CRLF & _ " Push 33" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <Ext ProtectionPath ProtectionCand>" & @CRLF & _ " Inactive reason: Route Preference" & @CRLF & _ " Local AS: 31133 Peer AS: 25159" & @CRLF & _ " Age: 11w2d 1:53:58 Metric2: 1 " & @CRLF & _ " Validation State: unverified " & @CRLF & _ " Task: BGP_25159.83.149.11.252+???" & @CRLF & _ " AS path: 25159 I" & @CRLF & _ " Communities: 31133:100 target:64999:196 " & @CRLF & _ " Accepted" & @CRLF & _ " VPN Label: 33" & @CRLF & _ " Localpref: 200" & @CRLF & _ " Router ID: 83.149.11.252" & @CRLF & _ " BGP Preference: 170/-201" & @CRLF & _ " Route Distinguisher: 83.149.11.120:196" & @CRLF & _ " Next hop type: Indirect" & @CRLF & _ " Address: 0x11399fd4" & @CRLF & _ " Next-hop reference count: 6" & @CRLF & _ " Source: 10.222.253.245" & @CRLF & _ " Protocol next hop: 83.149.11.120" & @CRLF & _ " Push 33" & @CRLF & _ " Indirect next hop: 0x2 no-forward INH Session ID: 0x0" & @CRLF & _ " State: <NotBest Int Ext ProtectionPath ProtectionCand>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "Disclaimer: All commands will be logged for possible later analysis and statistics. If you don't like this policy, please disconnect now! " & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " Please email questions or comments to noc@megafon.ru. " & @CRLF & _ "" & @CRLF & _ "" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH) Local $aFullArray[0] For $i = 0 To UBound($aArray) -1 _ArrayConcatenate($aFullArray, $aArray[$i]) Next $aArray = $aFullArray ; Present the entire match result _ArrayDisplay($aArray, "Result")

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm