.
is a special character in regex, that matches anything. Try escaping it:
MatchCollection match = Regex.Matches(entireText, @"alphabet\.");
More Related Contents:
- how to add new method to TextBox Class [closed]
- auto click in C# in difrent position of screen [closed]
- How to String Format [closed]
- How do I filter all HTML tags except a certain whitelist?
- C# object initialization of read only collection properties
- return only Digits 0-9 from a String
- How to get text between nested parentheses?
- Get values between curly braces c#
- C# Xml Serialization & Deserialization
- Adding different type of generic objects into generic list
- Extract title from name in c# [closed]
- How to cut up a string from an input file with Regex or String Split, C#?
- How to enable assembly bind failure logging (Fusion) in .NET
- Why is Dictionary preferred over Hashtable in C#?
- How is Generic Covariance & Contra-variance Implemented in C# 4.0?
- Parse Math Expression [duplicate]
- Escape Special Character in Regex
- How to fix a opacity bug with DrawToBitmap on WebBrowser Control?
- Why use String.Format? [duplicate]
- Get the final generated html source using c# or vb.net
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- Get Component’s Parent Form
- Finding quoted strings with escaped quotes in C# using a regular expression
- Adding unknown (at design time) properties to an ExpandoObject
- Why doesn’t $ in .NET multiline regular expressions match CRLF?
- DataGridView column footer c#.net winforms
- Generic List as parameter on method
- Regular expression for 10 digit number without any special characters
- Objects implicitly instantiated in vb.net?
- is there a elegant way to parse a word and add spaces before capital letters