Re: Regular expresion problem
| From: | Joe Stump | Date: | Sat, 25 Nov 2000 13:00:54 +0000 |
| Subject: | Re: Regular expresion problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27141@lists.php.net to get a copy of this message | ||
try pregi_replace();
--Joe
On Sat, Nov 25, 2000 at 01:33:56PM +0100, Oliver Ertl wrote:
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
================================================================================
= Joe Stump joestump98@yahoo.com http://www.miester.org =
================================================================================
Need a programmer? http://www.google.com/search?q=joe+stump+resume