I have many string which has single quote string. e.g:
abc 'deg' tyui 'tr23' fgh dfgd f sdfg df gdf dfg dfg ...
What I want to do is a function that search through the text then find everywhere that has single quote string and replace with a pre-define string, in above e.g i want to replace 'deg' with 'MY_PRE_DEFINE' and 'tr23' with 'MY_PRE_DEFINE' but I have not found the solution yet.
Please help.
Thanks in advanced.