I have a csv file with different headers.
name,city
john doe,chicago
Have headers as
reader = csv.DictReader(open(PATH_FILE),skipinitialspace=True)
headers = reader.fieldnames
How will you run a regex that whenever a tag [name] was to be proceesed it will show "john doe"