Rubyではurlの正規表現がURIモジュールに存在する
url.rb
URI.regexp.match(input).nil?
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
Rubyではurlの正規表現がURIモジュールに存在する
URI.regexp.match(input).nil?
Register as a new user and use Qiita more conveniently
Go to list of users who liked