the thing is that i had names in my list that were of the format... ['john a, smith,william tell,jacob oram'] now i wanted to correct the first name (john a smith being one complete name) but due to the format of the raw data it came out like this...now using this method i found all such names using
ab=re.search((r'[A-Z][a-z]+ [A-Z]\,[A-Z][a-z]+'),zz[uy])
where zz[uy] is the location of the string...
now what i want is that i want is that i just want to replace the name in the correct format of john a. smith,william tell,jacob oram in the list...please help out basically all that i want to do is replace the "," after "a" in john a, smith with a "." and place it back in the string