String Pattern to match “x by y”

I’m trying to create a string pattern which will match either (with quotes included):

  • “x by y”
  • x by y
  • ‘x by y’

I’ve tried to use the following pattern: "\"" ~~ ___ ~~ "by" ~~ ___ ~~ "\"" which only matches something with " and tried to find an “or” symbol similar to regex | but to no avail.

Question: What symbols / tools can I use to develop a pattern which matches the above cases?

Question: What is the “correct” translation from a regex approach to a Mathematica approach? Are they the same?