Adding go code to templater to support generation of strings based on the regular expression passed. Closes: #438 Change-Id: Ife0c4f8d5dd8032408875c73ba098919470be9e9