Homework?
Why don't you show us what you've tried so far, or ask us for help on what you're stuck with?
Have you read perlretut?
Update: It's obviously too early for me. Sorry, AnonyMonk
Update^2: Have a look Using character classes particularly the bit about negated character classes.
In reply to Re: extract sentences with certain number of a character
by FunkyMonk
in thread extract sentences with certain number of a character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |