Re: richtextbox unable to find word using docymenttext on webpage?
"Cookies Milk" is not the same as
"Cookies
Milk"
In 2nd string, there is a new line between the 2 words. When you compare 2 strings, white spaces do count. Therefore, if you expect the 2 strings above to match, you have to account for white spaces. Using regex makes the job easier.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it. - Abraham Lincoln -