Oo. i matched all html tags too. make that:
preg_match_all("|<\?[^>]+\?>|",$Text,$PHP_code);
At 14:06 11-3-03, you wrote:
At 13:56 11-3-03, you wrote:
Can you pick a decent subject like "help with regular expressions" rather
than something pointless and generic like "a small problem"... a lot of
At 13:56 11-3-03, you wrote:
Can you pick a decent subject like "help with regular expressions" rather
than something pointless and generic like "a small problem"... a lot of
readers will skip over generic subject lines, and you also miss out on
attracting the attention of those who regexps well.
a
Can you pick a decent subject like "help with regular expressions" rather
than something pointless and generic like "a small problem"... a lot of
readers will skip over generic subject lines, and you also miss out on
attracting the attention of those who regexps well.
Justin
--
PHP General Mail
Hi all in the PHP list. I'm trying to deal with Regular Expressions, but somehow it is
getting more difficult. I´m trying to do the folowing:
Read a text and get all of the PHP code out of it, highlight it and then print all in
nice HTML. I'm using this to get the PHP code:
ereg("<\?.*\?>",$Tex
-
From: Mike <[EMAIL PROTECTED]>
To: php mailinglist <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 5:59 PM
Subject: [PHP] A small problem with input feilds.
> Hello everyone,
> I have the following html code that is generated via a script:
>
>
>
>
Hello everyone,
I have the following html code that is generated via a script:
ArtistTitleFile
SizeCheck
Dj Ummet
Pump This Party (extended Mix)
About 4.5 megabytes
Metalica
Enter Sandman
About 4.43 megabytes
6 matches
Mail list logo