2
pimps
117 days, 17 hours, 29 minutes ago
Thursday, October 15, 2009 12:02:54 AM GMT Wednesday, October 14, 2009 2:24:53 PM GMT

Lookbehind in Regex searches

Lookbehind in Regex searches
 
west-wind.com -- I’ve said it before – Regex is not one of my strengths and although I use Regex expression quite frequently in code I’m in fear (literally) of using longer Regex expressions, fully expecting to look at my own Regex code and not remember what it does10 minutes later :-}. Ok, not quite so bad, but not completely off the mark. Today I had what is a fairly simple problem – I needed to match a JSON string and check for invalid quote characters in the string. For example:
hismightinesshismightiness posted 118 days, 3 hours, 7 minutes ago     show counter code
tags: asp.net, JSON, Regex, Regular Expression

No comments yet, be the first one to post comment.

To post your comment please login or signup