Page 1 of 1

Regular expression for insert 'file name'

Posted: Thu Sep 16, 2010 6:00 pm
by sparklinks
Can anyone please tell me what is the Regular expression to insert 'file name' in middle of the file.

for example : I want to replace the wold 'pad' at 7th line with file name.

Posted: Wed Sep 29, 2010 11:14 am
by woho
Hi spaklinks

Don't think that has something to do with Regular Expressions
My idea is to record a macro
- Macros/record
- Search/find 'pad'; press 'search next' => 'pad' is selected
- Edit/Insert/Filename
- Macros/stop recording
- save macro => should be available under the chosen name in macro menu

=> use macro

WoHo