CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Posts
    1

    Unhappy Notepad HELP!!!!

    http://img16.imageshack.us/img16/6771/23709622.jpg

    my goal is just to SELECT n DELETE Those lines :
    Dialogue: Marked=0,0:02:39.49,0:02:40.49,Default,NTP,0000,00 00,0000,!Effect,
    (without the text)

    ^
    take a look at that picture up there... the marked line...
    i just need ALL of these lines removed.. i managed to select only one line as you see , its impossible to select it with the mouse:\

    I know there's a way to change line number but not the column and start deleting those lines (the column number is static) for example i have 1,062 lines i want to delete.. but delete not the whole line just part of it (colmn 76) so the script will start deleting lines one by one .. is that possible? o; sorry if its too noobish

  2. #2
    Join Date
    Oct 2005
    Location
    Bangalore
    Posts
    167

    Re: Notepad HELP!!!!

    It is not possible in notepad. try some other editor or Microsoft Word.

    Press the Alt key and select the content with mouse.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Notepad HELP!!!!

    What's your Visual C++ question?

  4. #4
    Join Date
    Feb 2007
    Posts
    43

    Re: Notepad HELP!!!!

    Don't use notepad. Download another freeware text editor with search and replace. I'd:
    1) download Notepad++
    2) google "regular expressions" A little tricky to understand, but easy enough for what you want to do.


    What you want to do is super easy in c++, but I don't think anyone's going to just write the routine for you until you've tried something yourself. Why don't you submit some code?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured