On Tue, Jan 13, 2009 at 9:56 AM, flexaustin <flexaus...@yahoo.com> wrote: > Does anyone know how to write a regular expression that says find a > pattern in a String that contains 0 or more letters, numbers, or > spaces, but not a ", (one double quote and a comma).
[a-z0-9 ]* That will match 0 or more letters, numbers, or spaces (any combination of those). Since a double-quote or a comma do not fall in any of these categories (letters, numbers, or spaces), they won't be matched. Is that what you're looking for? Manish -- http://manishjethani.com