You can use the look to check 3-5 of these characters:
(?=[hello]{3,5})h?e?l?l?o?
Note that this will find a match as in a line like help , since help contains hel . If you want to use stp, you can check word boundaries or line endings depending on your situation. If you want a match for the ends, add ^ to the beginning and $ to the end. If you want to check word boundaries, add \b to both ends.
source share