Thanks, Craig. Unfortunately, this doesn't quite work either. If I were to run:
replace "use" with "<box>use</box" in it It would not only replace the whole word "use", but also the string "use" in the word "used", so I would end up with something like "<box>use</box>d", which is not the desired result. On Dec 15, 2009, at 1:56 PM, [email protected] wrote: > Right, thanks to all. > > Chris', your original regex question could better be addressed by: > > on mouseup > get fld "yourField" > replace yourtext with "<box>" & yourtext & "</box>" in it > set the htmltext of fld "yourField" to it > end mouseup > > This would be fast, and easily extendable, since we are just crunching > data. > > Not that there isn't a good regex solution as well... > > Craig Newman > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
