Life, Surf, Code and everything in between
White Papers
|
Free Tools
|
Products
|
Message Board
|
News
|
Web Log Home
Site Home
Subscribe to Feed
Contact
Search
Posts - 1217
Comments - 16108
Rick's Sites
Rick's FoxPro Web Log
CodePaste.net
Rick's Photos
Rick's Music
Find this content useful? Consider making a small donation to show your support.
Now Reading
jQuery Mobile
by Jon Reid
The Crash Course: The Unsustainable Future Of Our Economy, Energy, And Environment
by Chris Martenson
Wool - Omnibus Edition
by Hugh Howey
Twitter Status
WebLog Posts in Category RegEx
Lookbehind in Regex searches
October 03, 2009 @ 2:03 am
Regex's more esoteric features are easy to miss as they make sense to me only in a context that applies to my work. I've certainly read about lookahead and lookbehind before but until I needed it today and was pointed to look at this functionality in the Regex engine it just didn't sink in. Lookbehind allows matching or not matching of a string before the the string you are interested in. It effectively allows you to look for values that don't have x before another match which is actually quite common.
8 comments
Expanding Urls with RegEx in .NET
December 21, 2006 @ 6:42 pm
I frequently need to parse and auto-expand URLs inside of user input. Here's the routine I use to do this.
8 comments
Archives
May, 2012 (3)
April, 2012 (8)
March, 2012 (7)
February, 2012 (3)
January, 2012 (4)
December, 2011 (6)
November, 2011 (4)
October, 2011 (4)
September, 2011 (3)
August, 2011 (2)
July, 2011 (3)
June, 2011 (1)
May, 2011 (4)
April, 2011 (5)
March, 2011 (5)
February, 2011 (3)
January, 2011 (6)
December, 2010 (2)
November, 2010 (3)
October, 2010 (1)
September, 2010 (2)
August, 2010 (2)
June, 2010 (2)
May, 2010 (3)
Categories
ASP.NET (221)
.NET (85)
Personal (68)
jQuery (55)
JavaScript (54)
AJAX (51)
Visual Studio (49)
CSharp (40)
HTML (35)
LINQ (32)
IIS (30)
ASP.NET (28)
Vista (28)
WCF (27)
Windows (22)
Localization (21)
FoxPro (21)
Web Services (16)
COM (14)
Microsoft AJAX (13)
MVC (12)
WPF (12)
ADO.NET (12)
XML (10)
CSS (9)
Web Connection (8)
Security (8)
Silverlight (8)
Sql Server (7)
West Wind Ajax Toolkit (7)
IIS7 (7)
HTTP (7)
C++ (6)
Web Api (6)
Html Help Builder (5)
HTML5 (5)
Hardware (5)
ISV (4)
Live Writer (4)
Bugs (4)
WebLog (4)
Software Development (4)
Office (4)
Source Control (3)
Razor (3)
Windsurfing (3)
DataBinding (3)
Help (3)
Help Builder (3)
IIS7 (3)
Installation (2)
Internet Explorer (2)
Conferences (2)
ADO.NET (2)
Visual Studio (2)
WinForms (2)
Tools (2)
Web Design (2)
RegEx (2)
RSS (2)
Networking (2)
Maui (2)
Speaking (2)
Threading (1)
SmartPhone (1)
Web Deployment Projects (1)
Travel (1)
Utilities (1)
wwHoverPanel (1)
Addins (1)
Control Development (1)
Dynamic Types (1)
FireFox (1)
iPhone (1)
Graphics (1)
JSON (1)
© Rick Strahl, West Wind Technologies, 2005 - 2012