You're replying to a comment by frank_wu.

September 19, 2011, 07:32

you can install gawk,and do like this:
Syntax:
gawk 'mathc($0,regex,array){print array[1]}' file

example:
gawk 'match($0, "https?:\/\/(.*?google.*?)/", array) {print array[1]}' filename

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.