Search & Replace multiple Paragraph returns
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