Q:

Regex not matching correctly multiple words

As you can see in the "Debuggex Demo" it's only matching "Drama", but I also want "Foreign", but I can't get it working. Anyone could give me a hand?
Thanks in advance.
name":"(.*?)"}.*?,"homepage

Debuggex Demo

A:

You can use positive look-ahead and change it to:
name":"(.*?)"}.*?,(?=.*"homepage)

EDIT: As pointed out by Pshemo, even shorter one works too
name":"(.*?)"}(?=.*"homepage)

