Finding Similar Words (like bat, cat, mat)using regular expressions with .net
In this regular expression we are going to find out Similar Words like bat, cat, mat, and rat. Just take a look at above words they all same ending "at".
Regular Expression Pattern
\b[a-zA-Z](at\b)
A description of the regular expression:
First or last character in a word
Any character in this class: [a-zA-Z]
[1]: A numbered capture group. [at\b]
at\b
at
First or last character in a word




