I'm not very skilled with regex, I was wondering if it was possible to use a regular expression to transform a string like
insert into tblTest (id,title,col1,col2) values (1,'test','test1','test2')
into
update tblTest set title='test',col1='test1',col2='test2' where id=1
btw, the insert query will not be always like the one I've written in the example, but the first id it will be always present
thanks in advance