Hi Lisa,
if the domains are contained somewhere in the middle of a text, you should use ungreedy matching (.? instead of .) when trying ripat's patterns.
Concerning the country-code TLDs (if you want to match them): imho they always have 2 letters, so
.(com|org|net|edu|info|us|gov|[a-z]{2})
may be an alternative.
it would still not match yahoo.co.uk, but I have no idea if you acutally need this to be matched as well.