Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if string is url

if (filter_var($string, FILTER_VALIDATE_URL)) { 
  // you're good
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #check #string #url
ADD COMMENT
Topic
Name
6+8 =