Lookbehind in Regex searches
Posted by: Rick Strahls WebLog,
on 03 Oct 2009 |
View original | Bookmarked: 0 time(s)
Ive said it before Regex is not one of my strengths and although I use Regex expression quite frequently in code Im 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: JSON String: \"that has legal...