Tomorrow at 5:01am, Tobias Reif said: > Hi Wayne, > > /[^"]+/ > > works! > > Maybe you could explain "negated character class"? I thought "^" means > "beginning of a line or string". For example, when you want to match a specific character class, like "anything between A and Z" you can do [A-Z] (you already know). But when you want "everything except the range A - Z", you can do [^A-Z]. The ^ inside brackets will tell ruby to negate the match. Indeed, outside brackets the ^ means 'anchor to the beginning of a string' regards, Wilbert