Results 1 to 7 of 7

Thread: Regular expression help needed [Resolved]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648

    Regular expression help needed [Resolved]

    Hi all

    I need to create a regular expression so that I can use the preg_split function to split up a table by its td elements

    PHP Code:

    $rows
    =preg_split("^(<tr)+(</tr>)$",$table); 

    This is the warning i get:

    Warning: No ending delimiter '^' found in c:\inetpub\wwwroot\nkgroup\admin\parser.php on line 63

    And the table DOES contain rows. I have searched on the net and I cant find an explanation.

    If you do have one, I would be reaaalllllly grateful!!!

    Thanks in advance
    Last edited by MikkyThomeon; May 23rd, 2004 at 10:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width