Create Regex From String Python Center