0👍
Just figured out that I need to escape \ in js.
regex: /^[\\+]?[(]?[0-9]{3}[)]?[-\s\\.]?[0-9]{3}[-\s\\.]?[0-9]{4,6}$/im
- [Vuejs]-'Object is of type unknown' inside map function in VueJS
- [Vuejs]-Get data from each select in the loop Vue.js
Source:stackexchange.com