[PHP] Re: Newbie: ereg

2002-11-25 Thread Mattia
I don't know if I got it right bu try echo htmlentities('This shall be visible'); htmlentities() will translate your string in 'This shall be visible' > This shall be visible > or > This shall be visible too -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: Newbie: ereg

I still havent found a site that shows what I need. I dont think php.net explain how ereg works. I only want to publish stuff from the stringvariable $text thats inside tags looking like this This shall be visible or This shall be visible too thanks Martin Try the following: ]+>)([^<]+)(]+>)