8

get substring with between parenthesis using regrex

view full story
linux-howto

http://stackoverflow.com – I have a bunch of lines as below: PING planetlab2.tau.ac.il (192.114.4.3) 56(84) bytes of data. I want to obtain the ip addresses from these lines, which are between the first ( and ) pair how to get it using linux regrex? like sed, grep, blabla thanks! (HowTos)