09092006 0651 GMT-6 About a year ago I was wanting to search my documents in a folder and 1. find, 2.cut and 3. paste certain sections into another folder - all automatically. I never really did figure it out and as it was really only for fun, I dropped it.
Well, at Wednesdays meeting a question was brought up on how to do this exact thing. I suggested that we use X1. It searches files and does this exact thing - and very well. But, they want to do what I wanted to do - find already marked text and copy it to another file. So I worked on this for a few days but just counldnt seem to see a clear path to this. Here is what I need to do: 1. open a text file in a folder, 2. scan the file for a predetermined word that marks the beginning of an area, 3. scan the file for a predetermined word that marks the end of an area, 4. copy the text between these two words, 5. write this to another file, 6. and go onto the next area in the same file to do this again. Im stuck on step 2 -5. I can use reg to find the first word but Im a bit lost on what to do next. I can scan for the last word, the first word but how do I maintain accountability for the number of items to be copied within the document? wade [Non-text portions of this message have been removed] Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-list/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/