$ echo '| foo:bar ' | perl -nle'print for /\|\s+([\w.:]+)\s+/;' foo:bar
In reply to Re^2: How to grep some string(IP:port) from text file and print into txt file
by Anonymous Monk
in thread How to grep some string(IP:port) from text file and print into txt file
by hegaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |