Bookmarks

Regex Pattern for Matching URLs

2010/08/04 | Comment?

A really accurate Pattern for matching URLs in an arbitrary string of text.

Works with PCRE (Pearl, PHP) and Oniguruma(Ruby, TextMate, etc..)

via [ An Improved Liberal, Accurate Regex Pattern for Matching URLs ]

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags:

have your say

:

:


«
»