Forum » Programiranje » regularni izraz problem
regularni izraz problem
krho ::
Za izdajo xCollecta s podporo za IMDb, mi manjka še nekaj malenkosti med drugim je tale regularni izraz:
v 4ti grupi bi imel rad vse, kar je še med letom in prvim <br>-jem oz. če br-ja ni potem do </li>
--st.koda tag ne dela nad spodnjim html-jem
<b>Popular Titles</b> (Displaying 1 Result)</p><ol><li> <a href="/title/tt0370263/" onclick="set_args('tt0370263',1,1)">AVP: Alien Vs. Predator</a> (2004)<br> aka <em>"Alien Vs. Predator"</em> - Germany, USA <em>(short title)</em></li>
</ol>
<p></p>
<h2>Other Results</h2>
<p><b>Titles (Exact Matches)</b> (Displaying 1 Result)</p><ol><li> <a href="/title/tt0471072/" onclick="set_args('tt0471072',2,1)">Alien Vs. Predator</a> (1993) (VG)</li>
</ol>
<p></p><p><b>Titles (Partial Matches)</b> (Displaying 2 Results)</p><ol><li> <a href="/title/tt0472993/" onclick="set_args('tt0472993',3,1)">AVP: Alien vs. Predator - FX Special Event</a> (2005) (TV)</li>
<li> <a href="/title/tt0758730/" onclick="set_args('tt0758730',4,1)">AVP 2: Alien Vs. Predator 2</a> (2007)</li>
</ol>
<p></p><p><b>Titles (Approx Matches)</b> (Displaying 13 Results)</p><ol><li> <a href="/title/tt0287907/" onclick="set_args('tt0287907',5,1)">Aliens Vs. Predator</a> (1999) (VG)</li>
<li> <a href="/title/tt0289056/" onclick="set_args('tt0289056',6,1)">Aliens Vs. Predator 2</a> (2001) (VG)</li>
<li> <a href="/title/tt0343361/" onclick="set_args('tt0343361',7,1)">Aliens vs. Predator 2: Primal Hunt</a> (2002) (VG)</li>
<li> <a href="/title/tt0488867/" onclick="set_args('tt0488867',8,1)">Aliens Versus Predator: Extinction</a> (2003) (VG)</li>
<li> <a href="/title/tt0092530/" onclick="set_args('tt0092530',9,1)">Alien Predator</a> (1987)<br> aka <em>"Alien Predators"</em> - USA <em>(video title)</em></li>
<li> <a href="/title/tt0491801/" onclick="set_args('tt0491801',10,1)">Preylien: Alien Predators</a> (2004) (V)</li>
<li> <a href="/title/tt0355135/" onclick="set_args('tt0355135',11,1)">"Sexual Predator Alert"</a> (2002)</li>
<li> <a href="/title/tt0471004/" onclick="set_args('tt0471004',12,1)">Hiding in Plain Sight: Tales of an American Predator</a> (2005)</li>
<li> <a href="/title/tt0203139/" onclick="set_args('tt0203139',13,1)">Silent Predators</a> (1999) (TV)</li>
<li> <a href="/title/tt0311317/" onclick="set_args('tt0311317',14,1)">If It Bleeds We Can Kill It: The Making of 'Predator'</a> (2001) (V)</li>
<li> <a href="/title/tt0443054/" onclick="set_args('tt0443054',15,1)">The Hunters and the Hunted: The Making of 'Predator 2'</a> (2005) (V)</li>
<li> <a href="/title/tt0109728/" onclick="set_args('tt0109728',16,1)">Uncivilized</a> (1994)<br> aka <em>"The Most Dangerous Predator Is Man"</em></li>
<li> <a href="/title/tt0160691/" onclick="set_args('tt0160691',17,1)">Predatori si muovono all'alba, I</a> (1972)</li>
(?ims)<li>.*?<a.*?href="(.*?)".*?>(.*?)</a>.*?(\d{4})(.*?)(<br>)?.*?</li>
v 4ti grupi bi imel rad vse, kar je še med letom in prvim <br>-jem oz. če br-ja ni potem do </li>
--st.koda tag ne dela nad spodnjim html-jem
<b>Popular Titles</b> (Displaying 1 Result)</p><ol><li> <a href="/title/tt0370263/" onclick="set_args('tt0370263',1,1)">AVP: Alien Vs. Predator</a> (2004)<br> aka <em>"Alien Vs. Predator"</em> - Germany, USA <em>(short title)</em></li>
</ol>
<p></p>
<h2>Other Results</h2>
<p><b>Titles (Exact Matches)</b> (Displaying 1 Result)</p><ol><li> <a href="/title/tt0471072/" onclick="set_args('tt0471072',2,1)">Alien Vs. Predator</a> (1993) (VG)</li>
</ol>
<p></p><p><b>Titles (Partial Matches)</b> (Displaying 2 Results)</p><ol><li> <a href="/title/tt0472993/" onclick="set_args('tt0472993',3,1)">AVP: Alien vs. Predator - FX Special Event</a> (2005) (TV)</li>
<li> <a href="/title/tt0758730/" onclick="set_args('tt0758730',4,1)">AVP 2: Alien Vs. Predator 2</a> (2007)</li>
</ol>
<p></p><p><b>Titles (Approx Matches)</b> (Displaying 13 Results)</p><ol><li> <a href="/title/tt0287907/" onclick="set_args('tt0287907',5,1)">Aliens Vs. Predator</a> (1999) (VG)</li>
<li> <a href="/title/tt0289056/" onclick="set_args('tt0289056',6,1)">Aliens Vs. Predator 2</a> (2001) (VG)</li>
<li> <a href="/title/tt0343361/" onclick="set_args('tt0343361',7,1)">Aliens vs. Predator 2: Primal Hunt</a> (2002) (VG)</li>
<li> <a href="/title/tt0488867/" onclick="set_args('tt0488867',8,1)">Aliens Versus Predator: Extinction</a> (2003) (VG)</li>
<li> <a href="/title/tt0092530/" onclick="set_args('tt0092530',9,1)">Alien Predator</a> (1987)<br> aka <em>"Alien Predators"</em> - USA <em>(video title)</em></li>
<li> <a href="/title/tt0491801/" onclick="set_args('tt0491801',10,1)">Preylien: Alien Predators</a> (2004) (V)</li>
<li> <a href="/title/tt0355135/" onclick="set_args('tt0355135',11,1)">"Sexual Predator Alert"</a> (2002)</li>
<li> <a href="/title/tt0471004/" onclick="set_args('tt0471004',12,1)">Hiding in Plain Sight: Tales of an American Predator</a> (2005)</li>
<li> <a href="/title/tt0203139/" onclick="set_args('tt0203139',13,1)">Silent Predators</a> (1999) (TV)</li>
<li> <a href="/title/tt0311317/" onclick="set_args('tt0311317',14,1)">If It Bleeds We Can Kill It: The Making of 'Predator'</a> (2001) (V)</li>
<li> <a href="/title/tt0443054/" onclick="set_args('tt0443054',15,1)">The Hunters and the Hunted: The Making of 'Predator 2'</a> (2005) (V)</li>
<li> <a href="/title/tt0109728/" onclick="set_args('tt0109728',16,1)">Uncivilized</a> (1994)<br> aka <em>"The Most Dangerous Predator Is Man"</em></li>
<li> <a href="/title/tt0160691/" onclick="set_args('tt0160691',17,1)">Predatori si muovono all'alba, I</a> (1972)</li>
si.Mail odprto-kodni odjemalec elektronske pošte. - http://www.simail.si
Uredite si svojo zbirko filmov, serij in iger - http://xcollect.sf.net
Uredite si svojo zbirko filmov, serij in iger - http://xcollect.sf.net
darkolord ::
Nekaj takega, če prav razumem:
Edit: brez 5. grupe
(?ims)<li>.*?<a.*?href="(.*?)".*?>(.*?)</a>.*?(\d{4})\)(.*?)(?:<br>|</li>)
Edit: brez 5. grupe
Zgodovina sprememb…
- spremenilo: darkolord ()
krho ::
Dela. Hvala.
si.Mail odprto-kodni odjemalec elektronske pošte. - http://www.simail.si
Uredite si svojo zbirko filmov, serij in iger - http://xcollect.sf.net
Uredite si svojo zbirko filmov, serij in iger - http://xcollect.sf.net
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
! | Vse, kar ste si želeli vprašati o CSS, pa si niste upali. (strani: 1 2 3 4 … 23 24 25 26 )Oddelek: Izdelava spletišč | 347698 (6835) | sunniegoldie |
» | PHP - nujno! - email formaOddelek: Izdelava spletišč | 2043 (1725) | DonMatejo |
» | Izdelava menija? (strani: 1 2 )Oddelek: Izdelava spletišč | 7232 (6239) | Jackass |
» | Javascript/PHP vprasanjeOddelek: Izdelava spletišč | 2453 (60) | rasta |
» | mysql helpOddelek: Izdelava spletišč | 2113 (1909) | poweroff |