between two paterns
What are the 2 patterns ?
What is the meaning of target, desired output ?
Assuming that patterns are STORAGE and TABLESPACE, that the word between in the above quote is meaningless and that target is the expected result, try something like this:
sed -e 's!STORAGE!!g;s!TABLESPACE!!g' /path/to/inputfile
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884