Can anyone provide a regex for notepad++ for the below search and replace (conversion)
ADD ( PRIMARY KEY (xxx) ) ;
to
ADD PRIMARY KEY (xxx) ;
basically, removed a () around primary key expression. the value xxx is different among statements.
If not notepad++, I may also try the regex for vim or any shell script.
thanks a lot.
Babu.
Search for:
Replace with: