Question: I'm reading a response from a source which is an journal or an essay and I have the html response as a string like:

> 
> According to some, dreams express "profound aspects of personality" (Foulkes 184), though others disagree.
> 
> 
> 

My goal is just to extract all of the quotes out of the given string and save each of them into a list. My approach was:

```
[match.start() for m in re.Matches(inputString, "\"([^\"]*)\""))]

```

Somehow it didn't work for me. Any helps on my regex here? Thanks a lot.

Answer: 
Provided there are no nested quotes:

```
re.findall(r'"([^"]*)"', inputString)

```

Demo:

```
>>> import re
>>> inputString = 'According to some, dreams express "profound aspects of personality" (Foulkes 184), though others disagree.'
>>> re.findall(r'"([^"]*)"', inputString)
['profound aspects of personality']

```
Use this one if your input can have something like this: `some "text \" and text" more`

```
s = '''According to some, dreams express "profound aspects of personality" (Foulkes 184), though others disagree.'''
lst = re.findall(r'"(.*?)(?<!\\)"', s)
print lst

```

Using `(?<!\\)` negative lookbehind it is checking there is no `\` before the `"`