C# Regex: matching anything between single quotes (except single quotes)

Viewed 4955

How do I match anything between single quotes? I need to match all attribute = 'some value' statements within a WHERE clause of queries. I tried:

= '(.+)'

But that doesn't work: somehow messes up all single quotes and matches.

If anyone could help me out it'd be much appreciated!

1 Answers
Related