I can't find a solution to this problem:
I want to match all text between tags and followed by 4 numbers inside ( ).
Exg.
I want to match this:
<i>Alien - Resurrection </i> (1997)
<i>Alien - Resurrection </i>(1997)
<i>Alien - Resurrection </i>
(1997)
Now if it founds:
<li> Alien -Resurrection </i> bla bla bla <i> Alien the first one </i> (1991)
It matches the whole string,
but i would like it to only match the
<i> Alien the first one </i> (1991)
The strict rule is that after the tag there must 4 digits into brackets ()
My regular expression now looks like this:
/<i>(.*?)<\/i> \(([0-9]*)\)/s