Re: Regular expressions
| From: | David Tulloh | Date: | Wed, 15 Nov 2006 12:13:34 +0000 |
| Subject: | Re: Regular expressions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244657@lists.php.net to get a copy of this message | ||
John Meyer wrote:
Is there a way to make a regular expression to match on a particular way the letters are arranged? For instance, if you had a word: THAT It could match on any word in the dictionary that had the form: 1231I think something like this might be possible using lookbehind assertions. It's not the kind of pattern that regex was designed for though, it would probably be easier to write the processing using PHP character indexing. David