DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
rails check if a URL is valid
require 'uri' url =~ URI::regexp # => 0 if it match, nil if not
PREVIOUS
NEXT
Tagged:
#rails
#check
#URL
#valid
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit