Subject: RegExp Not
From: "Ralph Mason" <ralph.mason telogis.com>
Date: Tue, 26 Mar 2002 06:56:16 +0900
Excuse the probably simple question.
Is there any way to say not using regular expressions?
Example
x = some string with punctuation
x.gsub!( /(NOT)[\w \, \]/,''_
would remove anything that wasn't a word character a space or a comma.
Thanks
Ralph