I have a regular expression problem. My data is as follows:
[Section 1]
title = RegEx
name = Joe
color = blue
[Section 2]
height = 101
name = Gray
My question is can I write a regular expression to capture the 'name' key only from [Section 1]? Essentially, capture a key that may exist in multiple places, but only capture it from a specific section. I'll be implementing this in python. Thanks