• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Regex substitute/replace function in Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex substitute/replace function in Applescript?


  • Subject: Re: Regex substitute/replace function in Applescript?
  • From: "John C. Welch" <email@hidden>
  • Date: Sat, 09 Oct 2004 09:17:06 -0500

On 10/9/04 8:40 AM, "Randall Perry" <email@hidden> wrote:

> What's the best way to do character replacement within a string (or file) in
> Applescript? Is there a perl-like regular expression addon?
>
> What I'm wanting to do is read the source of an Entourage email and save it
> to a file, substituting the Mac eol character with Unix.

Um....what are you planning to read it with? Most OS X tools are using Unix
line endings by default.

john

--
"Ladies and gentlemen of the Jury, my opponent's argument is like trying to
figure out why Chewbacca, a Wookie from the planet Kashyyk lives with the
Ewoks on the planet Endor...it does not make sense...look at the monkey!"

Johnnie Cochran


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Regex substitute/replace function in Applescript? (From: Randall Perry <email@hidden>)

  • Prev by Date: Re: Regex substitute/replace function in Applescript?
  • Next by Date: Re: Regex substitute/replace function in Applescript?
  • Previous by thread: Re: Regex substitute/replace function in Applescript?
  • Next by thread: Re: Regex substitute/replace function in Applescript?
  • Index(es):
    • Date
    • Thread