#!/usr/bin/perl # http://perlmonks.org/?node_id=1176603 use strict; use warnings; my @extract = grep /^[^sh]*s[^sh]*h[^sh]*$/i, map tr/\n//dr, <DATA>; print "@extract\n"; __DATA__ school schools hosepipes
In reply to Re: Dictionary filter regex
by tybalt89
in thread Dictionary filter regex
by Linicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |