• 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
Search & Replace multiple Paragraph returns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Search & Replace multiple Paragraph returns


  • Subject: Search & Replace multiple Paragraph returns
  • From: doug rogers <email@hidden>
  • Date: Wed, 8 Jun 2005 15:24:50 -0400

On Jun 8, 2005, at 3:00 PM, email@hidden wrote:

I'd also suggest using regular expressions for stripping your multiple linebreaks/returns; it's much simpler, more flexible and more reliable than messing around with TIDs. Example:

tell application "TextCommands" -- [1]
    search TheNewsItem for "[\\r\\n]+" replacing with "\\r" with regex
end tell

That's Lovely. Where do I get the application TextCommmands....

 There is a crack in everything. That's how the light gets in.
__________<http://home.golden.net/~samu>__________

_______________________________________________
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


  • Prev by Date: Re: Binary math operations (and, or, etc.)
  • Next by Date: Re: Binary math operations (and, or, etc.)
  • Previous by thread: Re: Search & Replace multiple Paragraph returns
  • Next by thread: Re: Search & Replace multiple Paragraph returns
  • Index(es):
    • Date
    • Thread