Toon posts:

pregmatch probleem help...

Pagina: 1
Acties:

Verwijderd

Topicstarter
nu heb ik heel veel van deze urls

<a href="script.php?variable=796419603">
of
<a href="script.php?variable=79641">
of
<a href="script.php?variable=7964196033">

die wil ik matchen via pregmatch
maar mijn comanda werkt niet
- if (preg_match("/variable=(?:\|')([A-F0-9]+)(?:\|')/is", $lines[$i], $matches))

wie help alvast bedankt..

Verwijderd

Topicstarter
Heeft iemand een oplossing voor me ??

  • tomato
  • Registratie: November 1999
  • Niet online
Niet zo moeilijk doen en niet zo snel omhoog schoppen:
code:
1
/<a[[:space:]]href="script\.php\?variable=([0-9]+)">/i