Use regular expressions in replace?
Posted: Thu Apr 22, 2010 9:06 am
I need to transform some hundreds of thousands of lines of program code. A solution to the following problem would be a big start:
This
procedure showmessage(mess as string,mheight as long)
if vartype(.....
needs to become this
function showmessage(mess as stringt,mheight as long)
{
if vartype(....
Where everything varies except "procedure" in the search block, and "function" and brace in the replace block.
Gleason
This
procedure showmessage(mess as string,mheight as long)
if vartype(.....
needs to become this
function showmessage(mess as stringt,mheight as long)
{
if vartype(....
Where everything varies except "procedure" in the search block, and "function" and brace in the replace block.
Gleason