The head of my dataframe looks like this
I am using \'re\' library of pandas and I have written my code as below.
for i in df.index: txt = df.l