Insert at beggining of line
Posted: Wed Apr 05, 2006 11:37 pm
Hi All,
I found this link http://www.textpad.info/forum/viewtopic.php?t=4534 and the comment macros are almost what I need. However, I need to insert a /* at the begginging of each selected row to comment them out.
I can't for the life of me figure out how to do a search/insert or search/replace for the "beggining" of the line.
What regexp does one use to place the cursor at the beggining of the line to insert characters (for all selected lines only).
I am open to suggestions also, as many of you probably know an easier/better method.
Thanks for any help,
FH
I found this link http://www.textpad.info/forum/viewtopic.php?t=4534 and the comment macros are almost what I need. However, I need to insert a /* at the begginging of each selected row to comment them out.
I can't for the life of me figure out how to do a search/insert or search/replace for the "beggining" of the line.
What regexp does one use to place the cursor at the beggining of the line to insert characters (for all selected lines only).
I am open to suggestions also, as many of you probably know an easier/better method.
Thanks for any help,
FH