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

Modulo operation in Ruby

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

Add Pidgin to Ubuntu 12:10 notification menu