Read text from a file between two characters..

I have a requirement where i have to read from a .sh file a text lying bet characters like 'SELECT' & ';'...Please help me out in this. I am new to shell scripting.

Try it with grep.

Regards

Hi

awk '/SELECT/,/;/' file