6745Re: [NH] How do I search and replace (delete) all these?
- Jan 12, 2010yes Rudolf did what I planned to do ... if the li is the first and last
thing on each line add the ^ at the start and the $ at the end.
I hit send before I meant to :-)
I think you need \r\n at the end if you want to get rid of extra returns
or you can use \R in the current rendition of notetab, but not in 4.x I
Again you really would do yourself a favor to upgrade the program.
Rudolf Horbas wrote:
> Am Di, 12.01.2010, 17:13 schrieb ayla_z:
>> I have a file with hundred of line items to delete
>> where the ? are in the line below they each have
>> completely different information..
>> <li>???????????????????help </li>
>> Is there a way to tell NoteTabPro 4.5 to delete everything
>> that starts with "<li>" and ends with "help </li>"
> That's very simple:
> Edit -> Replace:
> ^\<li\>.*help \<\/li\>$
> with Regular Expression checked.
> The expression above produces a blank line.
> If you also want the whole line deleted, try:
> ^\<li\>.*help \<\/li\>\r\n
> ^\<li\>.*help \<\/li\>\n
> depending on the line endings in your file.
> I can't test the expression myself right now, but it should work OK.
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
> Yahoo! Groups Links
- << Previous post in topic Next post in topic >>