Test for multiples a character in a paragraph- Tex-Edit or OSAX
Test for multiples a character in a paragraph- Tex-Edit or OSAX
- Subject: Test for multiples a character in a paragraph- Tex-Edit or OSAX
- From: Xandra Lee <email@hidden>
- Date: Fri, 26 Jan 2001 18:06:30 -0500
Given some text is there any way to search for multiple instances of a
character in each paragraph. Then replace only specific instances?
I need to look at each paragraph seperately, and if there's MORE than
one tab character (ascii 9), I need to replace all But the first with
ascii 11 (verttab).
so that
Some text (tab mark) moretext (tabmark) more text.ascii 13
-->
Some text (tab mark) moretext (ascii 11) moretext. (ascii 13)
anytime more that there is more than 1 tab mark in a document.
I'm trying to Applescript this with Tex-Edit, but if there's an OSAX that
can do this elegantly I'm game.
Ideas?
xandra
Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><
http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><
http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>