
navsaug
New User
Sep 10, 2008, 10:37 AM
Post #1 of 6
(9384 views)
|
Help on regular expression
|
Can't Post
|
|
Hi - Please help me with the following. I have to a parse a log file and here is the part of the log file which is occurs repetitively. [Text1] [Text2] [Text3] [Text4] [Text5] [Text6] [Text7] [ ===== PATTERN1 ======= Text8_line1: value1 Text8_line2: value2 Text8_line3: value3 Text8_line4: value4 . . . Text8_linen: valuen ===== PATTERN1 ======= ] So basically I want to copy the text (i.e. Text1,Text2, ...... Text8) into different array or scalar variable for further processing. The brackets ([ and ]) for Text 8 are in different lines. Please help me with this. Thanks. -Navsaug
|