Read a CSV file

Comma-Separated Value (CSV) file, it’s likely that applications like Excel export spreadsheets into CSV file or a custom application program encode it data into CSV format for you. I assumed you getting in UTF-8 encoded. Instead of hard coding the filenames into the source code, filename will pass into the Read more…

Regular Expression

regrex package https://golang.org/pkg/regexp/ On-line Regular Expression https://regex101.com/ Meta Characters Metacharacters are characters that are interpreted in a special way by a RegEx engine. Here’s a list of metacharacters: [] . ^ $ * + ? {} () \ | [] – Square brackets Square brackets specifies a set of characters you wish to match. . – Period A period matches any single character Read more…