in reply to Getting only the link in a line
This regex handles the data you've provided and the case where the URL has a terminal ".":
/(https?:\S+?)[.]?\s/
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting only the link in a line
by iphone (Beadle) on Nov 04, 2010 at 01:42 UTC | |
by kcott (Archbishop) on Nov 04, 2010 at 02:14 UTC | |
by iphone (Beadle) on Nov 04, 2010 at 06:05 UTC | |
by kcott (Archbishop) on Nov 04, 2010 at 06:40 UTC | |
by Anonymous Monk on Nov 04, 2010 at 07:54 UTC |