따옴표 사이에 var 값을 일치시키고 싶습니다.C# 정규식 일치 var 값
bunch of other text, html tags, css
var SECURITYTOKEN = "1354010802-f407561a1503fa33e8e316f058c0f0598ce5adad";
bunch of other text, html tags, css
결과가 있어야한다 1,354,010,802 - f407561a1503fa33e8e316f058c0f0598ce5adad
내가이 같은 노력했다 : 여기에 입력의 매치 m = Regex.Match (@ 입력, "VAR을 \ sSECURITYTOKEN \ S ="); 하지만 완전히 혼란 스럽습니다.
이 시도 : http://stackoverflow.com/questions/375104/how-can-i-match-a-quote-delimited-with-a-regex – speti43
테스트를위한 좋은 리소스. 닷넷 정규식 패턴 온라인 : http://derekslager.com/blog/posts/2007/ 09/a-better-dotnet-regular-expression-tester.ashx – hoang