I have 3 strings from wich I want to extract the movie title, if posible in one RegularExpression
<title>Airplane! (1980)</title>
<title>"24" (2001)</title>
<title>"Agents of S.H.I.E.L.D." The Magical Place (2014)</title>
My best shot so far is this one:
<title>(")?(.*?)(")?.*?\((\d{4})\).*?</title>
Works fine for "Agents of S.H.I.E.L.D." and "24" but not for "Airplane!".
What am I doing wrong?
Even though it might not be clear the regular expression are called within a C# program, and I'm using RegEx