1
It is as follows: since it has a term that I wish to capture, for example, "HOUSE", how to make a regex to capture many variations of this word, example:
House, House, House, House, House, House...
I know there’s
(House|House|House|House|House|House)
but see that for this it is necessary that I write all the existing variations of the word, which would be 16 for "HOUSE". Depending on the word, this would become a Herculean task. The regex have a mechanism to make our lives easier?
Could it not be so (?i)(house) ? with the (?i) meaning Case-Insensitive, so it would match in all possible combinations of "house "
– Aron Linhares