RegEx help needed

From: Date: Wed, 13 Aug 2003 18:48:11 +0000
Subject: RegEx help needed
Groups: php.windows 
Request: Send a blank email to php-windows+get-21140@lists.php.net to get a copy of this message
I have an array of a submitted text string (called $submittedTextString). And I have an array of common words (called $commonWordArray). I'm trying to use Regex to: 1. Remove any words from $submittedTextString that appear in $commonWordArray (about a hundred words). 2. Remove any numbers from $submittedTextString. 3. Remove any characters from $submittedTextString that aren't alphabetical. 4. Remove any duplicate words from $submittedTextString I have been wrestling RegEx using tutorials and the manual but I'm not getting it...could someone help me put together the regex I need to do the above? Thanks a lot! Ron

« previous php.windows (#21140) next »