Validating an avatar URL

The following example is a combination usage of the uri validator and regexp validator. It asks user to enter a valid URL which ends with .jpg, .jpeg, or .png.

More examples

Related validators

The following validators might be useful to you.