Regular expresion problem

From: Date: Sat, 25 Nov 2000 12:33:56 +0000
Subject: Regular expresion problem
Groups: php.general 
Request: Send a blank email to php-general+get-27134@lists.php.net to get a copy of this message
Hi, I have an HTML file like this in a string: -- begin -- <font face="Helvetica">first line secend line</font> -- end -- What I would like to have is the the text between the tow <font.*></font> tags. I have tried the following but it is not working. eregi ( "<font.*>(.*?)</font>", $regs) If the <font.*> and </font> is in one line it work's fine. Oliver

« previous php.general (#27134) next »