in reply to Simple REG/EX Question

hi,
i just ran the code u had posted and this is the output i got :
There was an instance of book on this line: <p>this is a link to a book called<br> There was an instance of book on this line: <a href="http://www.foobar.tv/booklink.html">
so it looks like it is doing what you want it to do...(or am i missing something ?)