DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php check if string contains url
preg_match('/(http|ftp|mailto)/', $string, $matches); var_dump($matches);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#check
#string
#url
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit