I want to search a page with regexp for highlighted items (<i> around them). Now if I find one I also want to get 200 bytes before and 300 bytes after the highlighted item.
What is the best (fastest) way to implement this?
Thanks,
Wim
Just a little update. My working code goes as follows:
I would love to find a faster way to do this.