Searching a file for text surrounded by brackets

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

 



Hi, I need a way of searching a file for text between two brackets, below
is an example of a couple of lines from the file I'm searching:

<tr><td><font size="2">{L_LOGIN}</font></td></tr>
<tr><td><font size="2">{L_LOGOUT}</font></td></tr>

So I'll need to search the above for text between the '{' and '}' brackets
and read each into an array.

-- 
Jamie Saunders
Media Architect
phpdev@mediacdcards.net



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux