hello all, I am having trouble with some regular expressions.
Here is a file format that I have:
Code:
SECTION         Test
Comp                  1
Comp                  2
Frame                 1
Frame                 2
SECTION        Test2
Comp                  1
(..etc..)
What I need is a regular expression that just pulls out each section, so the first match would be everything from SECTION to SECTION.

I am terrible at regular expressions and I am not sure how to get this done. Any ideas?
Thanks in advance.