I have PHP scripts that have code that I want to change from:
Function1_show();Function2_show();
And I want the file to be changed to this:
call_my_func("Function1");
call_my_func("Function2");
I don't use regex very often so I am not sure how to key on the "_show();" on the end of each function. SED seems like the best function for this but any help is appreciated.
Function1
,Function2
? are they always composed of alphanumeric characters only?