I have a web page where i am doing a Keyword search of FAQ. I am dynamically performing the Search from SQL server and displaying the FAQ's that contain the keyword on the web page. Now i want to highlight the keyword i searched when i display to the user. I am currently using Regex.Replace method to perform this operation. But the problem here is in the text that highlighted there can be URL's or hyperlink. If the keyword i am searching is a part of the hyperlink then it is putting the <higlighting span tags between the actual url and thereby messing up the hyperlink.
Is there any way i can deal with this situation where i can higlight the keyword in the hyperlink without messing up the URL. Thank a lot in Advance. Will truly appreciate if some one could help me out.
Thanks
Alex
...
Go to the complete details ...