Im sorry to disappoint all, but STILL does not work for me.
I would say, im not a noob. And this is not my first macro
So what im doing and what I get ?
SelectAll
Copy
NewFile
Paste
Top
Find RegExp "^\s*First name:(.*),.*Last Name:(.*)$"
Replace All "\1 \2"
SelectAll,Copy,NewFile,Paste just select the first line copy it into clipboard and paste into a new window.
Then :
Find RegExp "^\s*First name:(.*),.*Last Name:(.*)$"
Replace All "\1 \2"
Is suppose to find name after First name: and find surname after Last Name: and replace the line (format) with the actual first and last name, but this is where I get String not found.
So ultimately, the line:
First name:John,info:asfsdfdsfsdg,Last Name:Smith
should be formated and I should see John Smith, but it not happens.
1. I open ultraedit and copy one line "First name:John,info:asfsdfdsfsdg,Last Name:Smith" to make it easy
2. Macro>Edit Macro>New macro and copy/paste following code:
InsertMode
ColumnModeOff
HexOff
UnixReOn
SelectAll
Copy
NewFile
Paste
Top
Find RegExp "^\s*First name:(.*),.*Last Name:(.*)$"
Replace All "\1 \2"
3.ctrl+m. I see new window with pasted line "First name:John,info:asfsdfdsfsdg,Last Name:Smith" and nice "string not found" window.
Now I feel myself really stupid
