Brand new to Python. I'm using the `csv` reader to parse some files. I'm going to parse info that uses 3 different delimiters. A comma, a pipe, and whitespace (for now). 

I have this:

```py
    with open(filepath, "r") as fp:
            file_lines = fp.readlines()
            delimiter = re.search("\w+([^\w])", file_lines[0]).group(1)
            reader = csv.reader(file_lines, delimiter=delimiter)
            print('Delimiter: [{}]'.format(delimiter))
            line_list = [row for row in reader]
            print(line_list)

```

This works with my `comma.txt` file. But when passing in my `pipe.txt` file, it's capturing the whitespace before grabbing the actual pipe.

sample input of a row with pipes would look like this:

Pipes: `Bouillon | Francis | G | M | Blue | 6-3-1975`

Whitespace: `Bouillon Francis G M Blue 6-3-1975`

Commas: `Bouillon, Francis, G, M, Blue, 6-3-1975`

Would you guys recommend another approach? Or should I just alter my regex instead?