I have a very lengthy string (length is also not fixed) I want to extract a substring lying between 'email' and '@gmail.com'
Suppose it is
xhxjcndjcnkjcnd cjkjcdckjncx email:substring@gmail.comjndhcjkdhcnchjdccb djc
I want to extract the 'substring' in the String.. Can I do this using regular expression , using sed tool.?