title: Regex — only zero or one 's'
body: <p>I have a name, &quot;foo bar&quot;, and in any string, <code>foo</code>, <code>foos</code>, <code>bar</code> and <code>bars</code> should be matched.</p>
  <p>I thought this should work like this: <code>(foo|bar)s?</code>. I tried some other regexes as well, but they all were like this. How can I do this?</p>