<?php if (filter_var('example', FILTER_VALIDATE_URL)) echo 'valid'; else echo 'invalid';
You have javascript disabled. You will not be able to edit any code.