Extract uri from String in ruby


URI.extract makes it easy to find links in pages.

"Extracts URIs from a string. If block given, iterates through all matched URIs. Returns nil if block given or array with matches."

Comments

Popular posts from this blog

Difference between rake db:migrate db:reset and db:schema:load

Install Multimedia codec (offline) without internet connection in Ubuntu

rails 3.2 with jruby and mysql with rvm in ubuntu