Linicks has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I have been thinking about this for the last few hours, running logic in my head, but can't even seem to get it... (so no code yet!).
I have a dictionary text file, one word on each line - what I require to do is only extract any word that has only one 'S' and only one 'H' in it in that order; so 'school' would match but 'schools' or 'hosepipes' wouldn't - but 'clash' would etc.
Any help appreciated, thanks, NIck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dictionary filter regex
by Corion (Patriarch) on Nov 26, 2016 at 17:04 UTC | |
by LanX (Saint) on Nov 26, 2016 at 18:39 UTC | |
by Corion (Patriarch) on Nov 26, 2016 at 19:25 UTC | |
by Linicks (Scribe) on Nov 26, 2016 at 17:30 UTC | |
by Laurent_R (Canon) on Nov 26, 2016 at 18:46 UTC | |
by Linicks (Scribe) on Nov 26, 2016 at 21:01 UTC | |
by Laurent_R (Canon) on Nov 27, 2016 at 13:19 UTC | |
|
Re: Dictionary filter regex
by tybalt89 (Monsignor) on Nov 26, 2016 at 17:07 UTC | |
|
Re: Dictionary filter regex
by Anonymous Monk on Nov 26, 2016 at 21:21 UTC | |
by Anonymous Monk on Nov 26, 2016 at 21:45 UTC | |
|
Re: Dictionary filter regex
by pryrt (Abbot) on Nov 26, 2016 at 17:07 UTC |