Problems? Is your data what you think it is? | |
PerlMonks |
Re: regular expressionsby toolic (Bishop) |
on Jun 06, 2015 at 20:47 UTC ( [id://1129313]=note: print w/replies, xml ) | Need Help?? |
Your grep filters out entire lines. Do you have multiple words on each line? If so, all you need is one word on a line to have 4 consecutive consonants to get a match.
Another way, using a negated character class:
Prints:
In Section
Seekers of Perl Wisdom
|
|