Regular Expressions 101

Sponsors

Library entries

Parsing of traceroute reporting issue

Vote

0

Regular Expression
pcre

/
^\s*(?P<hop>\d+)\s+(?P<dest>([^*[ ]+))(\s*\[(?P<dest_ip>\d+\.\d+\.\d+\.\d+)\])?\s*reports[:].*
/
g

Description

Loading markdown...
Submitted by anonymous - 5 years ago