I can receive 2 types of strings from the user. 1.cmd1 = inst1.exe license.dat 2.cmd2 = {{installer}} {{license}} And I have to replace the strings between braces with something