kray at sonsothunder.com
Thu Nov 17 16:25:16 CST 2005
On 11/17/05 2:52 PM, "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
> Hi Ken,
> Thank you.
> Seems that your solution would change the first color definition that
> is already present in the html code.
> May be I misunderstand :-)
> In my case, first there are hundred of occurrences and second, they
> have not any color tag yet.
Oh, sorry - I thought you needed to change the color from one to another.
You could use a similar thing to find the <font> tag and then add "color" if
there isn't already one, but are you looking for a *fast* solution, or an
elegant one? It is more elegant with regex, but is slower because it needs
to work on each instance in the field individually. If you're interested in
this, let me know and I'll send it to you.
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode