KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am new to regex expressions so sorry if this is a really noob question. I have a regex expression... What I want to do is check if a string matches the regex expression in its entirety without the regex expression matching any subsets of the string. For example... If my regex expression is looking for a match of \s A \s*, it should return a match if the string it is comparing it to is " A " but if it compares to the string " A B" it should not return a match. Any help would be appreciated? I code in C#.
Tags (comma-separated)
Save Edits
Cancel