in reply to Regular Expression: Matching arbitrary characters
I'm guessing here, because "does not work" may very well be "there are monkeys flying out of my computer", but there's a chance you actually do not want to match "arbitrary characters" at all. What you want to match is "anything that isn't a double quote" (BTW, an apostrophe is a single quote, your example matches between double quotes). Now, changing from "arbitrary" to "anything that isn't a double quote" is easy in your regexp.
And I leave that as an exercise.
|
|---|