I am wondering if it is possible to do a mark-up in free text by comparison with some string. Suppose I have a file with several sub-strings, one in each line. I have another file which contains the full text from where the sub-strings are generated. Is it possible to mak-up the source text with <found> </found> tags?
If possible please give the code snippet for this purpose.
Thanks in advance.