@maría-del-mar-muñoz I can’t tell if you’re supposed to be learning about regex, or something to do with language.
If it’s language, simply searching for ity should get you most of the way there, no?
If you’re actually supposed to be learning regex, the expression you showed is very wrong. You need to spend some time with the docs, and play around with very simple expressions. Try including one new rule at a time to build competence. I suggest you learn what \w represents, as well as the * modifier. (I could give you more, but you’re a student, you need to study!)