Anyone have a ready-made regular expression to parse out the net8 service name labels from tnsnames.ora? Perl is OK. What I'm looking for is a way to get a list of possible connections from tnsnames.ora. For example, from the below I just want a regular expression which returns label1 and label2... -------------------------------------------------------- label1 = (description_list= (description= (address=(...)) (connect_data=(...))) (description= (address=(...)) (connect_data=(...))) )
label2 = (description_list= (description= (address=(...)) (connect_data=(...))) (description= (address=(...)) (connect_data=(...))) ) -------------------------------------------------------- AtDhVaAnNkCsE !!!!!!!! Steve Orr Bozeman, Montana -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Orr, Steve INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).