I would like to write a PLSQL function that returns true if the domain name I pass is valid.
I should use regular expression, but I don't know how to do this.
declare
ignore boolean;
begin
isDomainSyntaxOk('www.laclasse.com'); --> should return true.
isDomainSyntaxOk('www.la classe.com'); --> should return false because of the space char.
end;
Any ideas ?