Try the following regular expression:
^Red October$
By default, regular expressions are case sensitive. The ^
marks the start of the matching text and $
the end.
More Related Contents:
- RegEx to remove single quote, parentheses or square bracket from both beginning and end of a string [closed]
- Find and extract a number from a string
- Regex.Match whole words
- Using RegEx to balance match parenthesis
- How do I extract text that lies between parentheses (round brackets)?
- How do I replace the *first instance* of a string in .NET?
- How do I access named capturing groups in a .NET Regex?
- What are regular expression Balancing Groups?
- Regular expression to remove HTML tags
- Regular Expression to split on spaces unless in quotes
- Why does the order of alternatives matter in regex?
- What’s the difference between “groups” and “captures” in .NET regular expressions?
- Remove text in-between delimiters in a string (using a regex?)
- Regular Expression for password validation
- Using WebClient in C# is there a way to get the URL of a site after being redirected?
- Translate Perl regular expressions to .NET
- Regex replace multiple groups
- Are Java and C# regular expressions compatible?
- C# – Regex for file paths e.g. C:\test\test.exe
- RegEx – reusing subexpressions
- Regex nested parentheses
- Ignoring white space for a Regex match
- Validating file types by regular expression
- How to make a regex match case insensitive?
- How to use inline modifiers in C# regex?
- C# System.RegEx matches LF when it should not
- Regex for matching a character, but not when it’s enclosed in square bracket
- What is a “Nested Quantifier” and why is it causing my regex to fail?
- regex to split line (csv file)
- is there a elegant way to parse a word and add spaces before capital letters