added output parameters

to the regex execute to db