I'm looking to make a regex with an operator that applies to a whole word. For example, I want the word hello to be optional. Instead of having h?e?l?l?o?, I am wondering if it is possible to write something like (hello)?*.
*Note that (hello)? does not work for my case since I do not want hello to be returned in the matches.