>Right, so parse the text for the ~ words. You can use rematch to get >them easily enough. You can then use that list of words as your body >when you add it to your index.
Well, that would work I guess if they *only* wanted to search for those words, but they want to be able to search on any of the content text as well. So I needed someway to make them unique in the search body. What I decided to do was to just use a Regex to convert the asterisks to X's so that in the search index it becomes "XXXHighlight" or whatever codes they want to use. Then I do a similar replacement when running the search. That seems to be working. --- Mary Jo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

