Posts tagged with "howto"
SB
Go
Home
Blog
Apps
Work
Contact
Feed
A Ruby Regex for Removing Links and Images from Text
r = /https?:\/\/[\S]+/i you_string.gsub(r, '') Here's the rubular regex to play around with yourself http://rubular.com/r/SRKkYrW4IJ
Written by Sean Behan on 11/14/2013