I'm testing the following regex:
(?i)(\s|\W|)(fire|fire-type)(\s|\W)
I have 2 problems:
1st case (SOLVED) has only one word without spaces at the beginning or end my regex does not catch. Ex:
fire
In my group I have a fire-type but regex takes only the fire and igonara the -type . Does anyone know how I can resolve these 2 cases?