regex that ignore ' in word

hi, how can i do regex like that:

i have the word holdem i want to select

holdem , hold'em ,ho'ldem , holde'm

thanks

orbens () - 6 years ago - Reply 0


There is probably a better way to do this, but what about:

/h'?o'?l'?d'?e'?m/

The '?' character makes the ' optional.

bidnapper (2) - 6 years ago - Reply 1