I am trying to match a stand alone s
ignoring case. I do not want to match an s that is preceded by an apostrophe. My current regex is /\b[s]\b/ig
and my test string is and the S
on lines 2 and 3 should be the only matches.
Men's
S
Just S Things
Somethings
Regexr: http://regexr.com/3geo2