On this page... (hide)

http://www.mikesdotnetting.com/Article/46/CSharp-Regular-Expressions-Cheat-Sheet
http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx

 

 

I had some trouble gettings regex testing to work in script.cs
Basically, have to remember that target string is escaped, but regex is not
(or is it the other way around?)

 

var baseLine = "\t\tBase Data=whatever";
var regex = new Regex("\\s+Base");
regex.Match(baseLine)

 

http://rextester.com/BLYCC16700

 

 

See Also

 

 

Category Tags

Regex Regexp