Re: Rather complex regular expression for the preg_match_all function

2003-01-23 Thread david
Andreas Sheriff wrote: > > I don't want to find tags with a complete structure. > ex: This is a

tag with a complete structure > > Instead, I want to find the tag with no closing tag, up to the next > tag or a closing tag of any type that doesn't have an opening tag > after the initial fo


Rather complex regular expression for the preg_match_all function

2003-01-22 Thread Andreas Sheriff
Hi, I'm trying to construct a regular expression to find HTML open tags without closing tags up to another of the same HTML open tag or a closing tag of a different type that's no enclosed in the implied closing tag optional HTML tag (for example doesn't require a closing tag. The closing tag is