Validation of Hyperlink URL

Hi folks,

is there anyway to validate the input field for URL of Hyperlink in a Richtext field? For example i want to exclude some domains and i expect when someone put an URL from those domains it will shown that the URL is invalid.

Thanks in advance

Anh