Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dontpanic

    Trying to do intelligent replacements

    Yes, that is correct. I want replace all occurance except that that are already encased in <a> or tags. As an example, it behaves in this way right now: A user makes a post that has this in it: MCSA/MCSE Self-Paced Training Kit (Exams 70-292 and 70-296): Upgrading Your Certification to...
  2. dontpanic

    Trying to do intelligent replacements

    I'm trying to use the preg_replace command to do replacements of specific strings with the string as a URL. An example from what I am using: $post['message'] = preg_replace('/(70-292)/i', '<a href=&quot;http://www.mcseworld.com/a/1932266569/&quot; target=&quot;_blank&quot;>\\1</a>'...

Part and Inventory Search

Back
Top