I want to capture a few search terms customers might search for using RegEx, so I can direct them all to the same page.
For example, if the search term was house plant, i'd want to capture: 'House Plant', 'house plant', 'houseplant', 'Houseplant', 'house-plant', 'House-Plant' ect
I've been using a RegEx tester to try and figure it out, but why does this expression, not capture 'houseplant' or 'house plant':
/house(\s|\S)plant/g
It only matches 'house plant' and not 'houseplant'
Also I can't find anything for the upper or lower case options - is RegEx not case sensitive?