Life, Surf, Code and everything in between
Contact
|
Articles
|
Products
|
Support
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, 2013 (2)
April, 2013 (5)
March, 2013 (4)
February, 2013 (2)
December, 2012 (2)
November, 2012 (7)
October, 2012 (3)
September, 2012 (3)
August, 2012 (5)
July, 2012 (1)
June, 2012 (1)
May, 2012 (4)
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)
Categories
ASP.NET (228)
.NET (95)
Personal (68)
JavaScript (57)
jQuery (55)
AJAX (53)
Visual Studio (51)
CSharp (43)
HTML (37)
ASP.NET (36)
LINQ (32)
IIS (30)
WCF (28)
Vista (28)
Windows (28)
FoxPro (22)
Localization (21)
Web Services (17)
Web Api (15)
COM (15)
ADO.NET (13)
Microsoft AJAX (13)
MVC (13)
WPF (12)
XML (10)
Security (10)
IIS7 (10)
CSS (9)
Silverlight (8)
Web Connection (8)
Sql Server (8)
HTTP (7)
West Wind Ajax Toolkit (7)
HTML5 (6)
C++ (6)
Html Help Builder (5)
Hardware (5)
Office (5)
ISV (4)
Live Writer (4)
Software Development (4)
Source Control (4)
WebLog (4)
Bugs (4)
ADO.NET (3)
Visual Studio (3)
Conferences (3)
DataBinding (3)
Help (3)
Help Builder (3)
Entity Framework (3)
IIS7 (3)
Windsurfing (3)
Razor (3)
RegEx (2)
RSS (2)
Maui (2)
Networking (2)
WinForms (2)
Web Design (2)
Tools (2)
Speaking (2)
Installation (2)
Internet Explorer (2)
iPhone (1)
JSON (1)
FireFox (1)
Graphics (1)
Deployment (1)
Dynamic Types (1)
Control Development (1)
Addins (1)
C# (1)
Threading (1)
Web Deployment Projects (1)
Travel (1)
Utilities (1)
SmartPhone (1)
SignalR (1)
wwHoverPanel (1)
© Rick Strahl, West Wind Technologies, 2005 - 2013