Re: New to scripting, need a lil help



Yes, it's possible with regexp.

It is also possible, using the plain 'ole split function
-- and maybe a little more transparent.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)


drk360@xxxxxxxxxxx wrote:
Im an intern at a software company, and I think I'm way over my head.
I need a script that can read and parse a text file (easy part, that I
know)
but I need my script to extract text between two delimiters that i can
specify.

is it possible to do this with regular expressions?

thanks in advance

.



Relevant Pages

  • Re: JMSs Spotlight at SDCC
    ... Jan of rec.arts.sf.tv.babylon5.moderated make plain: ... If deadlines conspire to gang up on him, the script books can be ... postponed as needed as can Book of Lost Souls, ... To be determined are 'Borrowed Lives'-the script for the pilot is ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Manipulating ANY type of email
    ... But what I need to do is to create a function within my script that will add ... Plain Text, has an atachment, whatever. ... #goto CHECKEMAILS; ... sub FetchMailGetMails ...
    (comp.lang.perl.modules)
  • Re: Replacing Adium
    ... Open a *plain* text editor (TextWrangler, ... Paste the script into a *plain* text document. ...
    (comp.sys.mac.apps)
  • Save the contents of a message to a file.
    ... I really don't know if this is more an entourage question or an applescript ... From there another shell script will ... pick it up and go from there, but the data has to be in plain text. ...
    (microsoft.public.mac.office.entourage)
  • Re: Optimizing a string manipulation script.
    ... of comp.lang.php make plain: ... The main problem is that the script currently takes about 20 ... Phorm PHP Form Processor ...
    (comp.lang.php)