Help with preg_match_all()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello people...

I'm relatively a beginner with regular expressions, so I need a little
help here.. I hope you can help me...

Ok, I have a HTML file with several tags like this:
{$base.username}
{$base.date}
{$blog.lastpost}

And so on.. It's a kind of a template system... well... I need to
create a expression to get all the tags from the HTML with
preg_match_all() in order to have them in a array...

Can you help me with this.. I already Googled for that, but I really
don't understand too well :P

-- 
Francisco Javier Escoppinichi Fernández
Email: fjefdez@xxxxxxxxx
Web: http://www.fire-dragon.net/
MSN: dragon@xxxxxxxxxxxxxxx
Cel: 044 (612) 348 91 00

"Sólo hay 3 cosas que no vuelven atrás: la palabra emitida, la flecha
lanzada y la oportunidad perdida."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux