Replacing text within tags

I’m shouting! Be careful with tags here on this site or that sort of thing will happen! (Your “h1” and “h2” were written as tags rather than as text - and were not ‘terminated’ - I have done that here after the first two words.)
I suggest you have a look at what Marc Myers has to offer…
Andreas

: I’m shouting! Be careful with tags here on this site or that sort of thing
: will happen! (Your “h1” and “h2” were written as tags
: rather than as text - and were not ‘terminated’ - I have done that here
: after the first two words.)

: I suggest you have a look at what Marc Myers has to offer…

: Andreas

It TE+ you can search for “<^*>”, which will select the next tag. Get the info from it and delete it. This gives you the starting point for your text conversion. Search for the next tag and delete it. This gives you the ending point. Modify all text between points A and B and you’ve got it!
Marc K. Myers
Marc@AppleScriptsToGo.com
AppleScriptsToGo
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[3/31/02 5:25:46 PM]

Hi,
This wild card thing is great. Thanks. I didn’t know about it.
This might work also:
search contents looking for (tag1 & “^" & tag2)
Then, just replace the selection. Or just use replace:
replace contents looking for ¬ tag1 & "^
” & tag2 replacing with ¬ “This is the new text.” replacing with styles ¬ {style:{bold, italic}}
to change all occurences of the string.
Thanks again. This Wild card thing is fun.
Later, Kel.