Hi! I have a problem with correct PCRE expression. Need cath bolder words (animal's names) in sample text:
this animal is called Hippo and can overcome no more thanis called Hippo and can overcome no more than
Hippo and can overcome no more than
Hippo can overcome no more than
this animal is called Grey Rabbit and can overcome no more than
this animal is called Small Grey Rabbit can overcome no more than
This is a test. Animal is called Small Grey Rabbit can overcome no more than
Here is the expression was i made. Unfortunately i cannot made it work correct, pls help. {1,3} quantifier if it possible need replace with * (Matches 0 or more of the preceding token.)
(^|called )\K([a-z]* ?){1,3}(?=( and)? can overcome)