Use regex to get char pairs