When working with regular expressions, it can be difficult to understand why a particualar pattern is not working as you would expect.
The visual debug tool at… 34 more words
1 week, 2 days ago
The regular expression lesson from Automate The Boring Stuff was particularly difficult, but I also knew it was one of the more useful parts of the book. 900 more words
Character classes match a character from a specific set.
This match any character except line break. Equivalent to[^\n\r]
This will match any character including line break. 108 more words
Foo, a programmer working at FooBar Inc., is happily working on a registration form, when he think to himself,
“Hmm. I should probably check if the email is valid.” 522 more words
1 week, 6 days ago
IT Master Mind
Hi all, from a previous post we talked about regular expressions and get a basic idea about regular expressions. From this post I’m going to look into more about regular expressions. 163 more words
2 weeks, 2 days ago
string s = "Update tbl set Name=@Name , Age=@Age Where Id=@Id";
foreach (Match match in Regex.Matches(s, @"@(\S+)\s?")) //or, //@"(?<!\w)@\w+"
2 weeks, 5 days ago
Regular Expression is a pattern describing a certain amount of text. Also known as RegEx or RegExp. Can be used for validating user inputs such as email addresses, find a specific String from a text and etc. 584 more words
3 weeks, 4 days ago