How to add some text on the begin/end line (this same text for each line)? Example (before operation):
<table border="1"> <tr align="center"> <td rowspan="2">My index </td>
After:
writeln(f,'<table border="1">'); writeln(f,'<tr align="center">'); writeln(f,'<td rowspan="2">My index </td>');
find: ^(.*)$ replace: writeln\(f,'\1'\);
enable regex. Or create a macro with home and end, typing your characters en pressing the down arrow, then run to the end of the file.
I'd suggest typing Ctrl+CursorRight at the End of the line, instead of a CursorDown...
How to add some text on the begin/end line (this same text for each line)?
Example (before operation):
<table border="1">
<tr align="center">
<td rowspan="2">My index </td>
After:
writeln(f,'<table border="1">');
writeln(f,'<tr align="center">');
writeln(f,'<td rowspan="2">My index </td>');
find: ^(.*)$
replace: writeln\(f,'\1'\);
enable regex. Or create a macro with home and end, typing your characters en pressing the down arrow, then run to the end of the file.
I'd suggest typing Ctrl+CursorRight at the End of the line, instead of a CursorDown...