Vi search and replace

Hi,

I need help with search and replace for the following string using vi ..

if [[ "$ORACLE_HOME" = "/opt/oracle/product/11.2.0/racdb" || "$ORACLE_HOME" = "/opt/oracrs/gridsw/11202" ]];then


to 

if [ "$ORACLE_HOME" = "/opt/oracle/product/11.2.0/*" || "$ORACLE_HOME" = "/opt/oracrs/gridsw/*" ]];then



can this be done in one search and replace or need multiple ?

Thanks

Why using vi ?
Run this on your script

awk '{gsub(/racdb|11202/,"*")}1' oldscript > newscript

In Vi:

:%s/racdb\|11202/*/g

Thanks...

 [[ /opt/oracle/product/11.2.0/racdb == /opt/oracle/product/11.2.0/* ]]

is there any special operators to match the above ?

Thanks