[Golang] To use regex to filter and give any values you want.
Ví dụ như bạn có 1 ký tự 52.2 m² và bạn muốn lấy 52.2 sau đó lưu vào database. Certainly! Let’s break down the regular expression and the code: The Regular Expression: (\d+(\.\d+)?)\s*m? The Code: So, when the string “52.2 m²” is processed with this code, the regular expression will recognize “52.2” as the…
Read More “[Golang] To use regex to filter and give any values you want.” »