Try the following:
r1 = re.compile('(?:AAA ")([^"]*)(?:" BBB)')
s = 'AAA "www.example.com" BBB asdf asdf ghgh AAA "www.someurl.com" BBB
gjsltg ajshssl ahssfh AAA "www.anotherurl.com" BBB'
res = r1.findall(s)
You may also consider using
Updated re looks like this
r1 = re.compile('(?:data-starred-src=")([^"]*)(?:"
but I've simply replaced AAA and BBB with new delimiters so it's
possible that the code won't work if it didn't work before.