Skip to main content

Posts

Showing posts with the label Regular Expressions

C#.Net Regular Expression Cheat Sheet Reference

Character Description \ Marks the next character as either a special character or escapes a literal. For example, "n" matches the character "n". "\n" matches a newline character. The sequence "\\" matches "\" and "\(" matches "(". Note: double quotes may be escaped by doubling them: "<a href=""...>" ^ Depending on whether the MultiLine option is set, matches the position before the first character in a line, or the first character in the string. $ Depending on whether the MultiLine option is set, matches the position after the last character in a line, or the last character in the string. * Matches the preceding character zero or more times. For example, "zo*" matches either "z" or "zoo". + Matches the preceding charac...