[Home] [By Thread] [By Date] [Recent Entries]
Given this highly contrived paragraph of text:
<p>words apple words juice, orange words apple</p> ...and a lookup file: <word>apple</word> <word>juice, orange</word> I need to wrap the first occurance of each item in the lookup file with an anchor: <p>words <a>apple</a> words <a>juice, orange</a> words apple</p> The space in the keyword makes this a hard problem... any cunning solutions? cheers andrew
|

Cart



