How to write a regular expression that matches this pattern but also allows one character to any number of characters – Javascript
I need a regular expression that can contain Latin letters, digits, the underscore (_), the minus (-), and the point (.) symbols but the point symbol cannot be used as the first or the last symbol. I believe I need…