Hi, I am after a regular expression which checks for a specific whitespace in a string before a word in c#.
What I mean if I have a string called "Hi, I am a woman".
Problem is I want to check if a man the string is a man or woman.
So I need a regex which checks for whitespace before 'man'.
if (string == " man") = man else if (string == "man" = woman.