2
I’m testing the following regex:
(?i)(\s|\W|)(fire|fire-type)(\s|\W)
I have 2 problems:
1º Case (SOLVED) has only one word without spaces at the beginning or at the end my regex does not take. Ex:
fire
2nd In my group I have a fire-type but the regex only takes the word fire and igonara the -type. Does anyone know how I can solve these 2 cases?
What is the purpose of Regex? Is to find the words in a text
fire
andfire-type
?– David
That’s right... @David
– Roknauta
(fire\-type)|(fire)
resolves ?– David
Reply that I valid, it worked...@David
– Roknauta