In our previous Golang tutorial, we have explained how to create REST API in Golang. In this tutorial, we will explain how to work with regular expressions in Golang.
A regular expression or regex is a sequence of characters to define a search pattern. It’a powerful technique used in most of programming language. Instead of writing many code lines, regex provides fast solution to handle everything in a single line of code to search, replace, extract, pattern matching etc. (more…)