備忘録です
regexp = /\Ahttps:\/\/(.*\.)?hogehoge.com\z/
url = 'admin.hogehoge.com'
url.match?(regexp)
Go to list of users who liked
More than 3 years have passed since last update.
備忘録です
regexp = /\Ahttps:\/\/(.*\.)?hogehoge.com\z/
url = 'admin.hogehoge.com'
url.match?(regexp)
Register as a new user and use Qiita more conveniently
Go to list of users who liked