Here's my code,
new_name = re.sub(r'[^A-Z a-z]', '', new_name)
new_name += '.txt'
Input: new_name = "Air Supply 85' [1985]"
Output what I am getting: "Air Supply .txt"
It is recognizing the extra spaces too from ' 85' [1985]' But I want it to end the new_name as character only as 'Air Supply.txt'