faqts : Computers : Programming : Languages : PHP : Common Problems : Regular Expressions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

13 of 16 people (81%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How can I replace all <table ...> tags?

Aug 15th, 1999 08:40
Nathan Wallace, Gianluca Baldo


Try this:

    $new_table = eregi_replace("<table[^>.]*>",$replace,$table);