added string 2 regex code for studying