Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Too easy for most of you but me

Last post 08-14-2008, 7:20 PM by Aussie Susan. 1 replies.
Sort Posts: Previous Next
  •  08-14-2008, 8:00 AM 45344

    Too easy for most of you but me

    Hello

     

    I'm sure what I'm looking for is quite simple but since I'm very novice to regular expressions I hope to find a clue.

    I basically have a matlab problem and want to use regular expression to help out. Is there a way to open a text file....and erase the first line in this text file?

     

    Cheers

    Marc
     

    Filed under: , , ,
  •  08-14-2008, 7:20 PM 45361 in reply to 45344

    Re: Too easy for most of you but me

    Marc,

    You may need to expand on your question a bit because I can't see where a regex will help you as opening a file, reading lines, writing lines etc are fairly standard programming tasks.

    The only things I can think of are:

    - you need a regex to select the specific file fom a list
    - you need a regex to conditionally select the first matching record that is to be deleted

    Susan

View as RSS news feed in XML