preg_replace help (change specific word inside a tag)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • temp@i-vibe.com

    preg_replace help (change specific word inside a tag)

    Hi,

    I'm not good in regexp.

    TEXT:
    <a href="index.php ">asasa</a>
    <a taget href='index.php '>asasas</a>

    I want to change only "index.php" in all occurance in a link tag.

    thanks.
    Jack

Working...