Need help creating a Macro
Posted: Wed Feb 11, 2015 2:47 pm
I need little help in creating a macro. The regex works as expected. But when I try to put it in a macro, it doesn’t work.
This is one column of data:
This is how I want the data to look like.
Here are the steps I follow. They work perfectly, except in a macro. What I’m doing wrong?
This is one column of data:
Code: Select all
C0031
C1376
F189
F912Code: Select all
('C0031', 'C1376', 'F189', 'F912')Here are the steps I follow. They work perfectly, except in a macro. What I’m doing wrong?
Code: Select all
find: $\n^$
replace:
find: ^(.*)$
replace: '\1',
find: \n
replace:
find: ,$
replace:)
find: ^
replace: (