Is there an easy way to verify input for www and email? (462969)

i have a gui where user could submit its own content or suggest an url or something
optionally user will leave email too, is there efficient way to verify that email and url is in the proper format from inside unity? www.something.com and something@somewhere.com?? it does need to be perfect just to cover most cases.

thanks!

unity answers cross-post: Is there an easy way to verify input for www and email? (32843) - Questions & Answers - Unity Discussions

It is called regex and you are going to find a lot of examples for C#. Just look for “c# regex url” and “c# regex email”