Html – Regex Expression to test number of dot in a string
How can I test whether a string contain 1 or more than one dot put together. Please show me where I went wrong in the code below. <!DOCTYPE html> <html> <body> <p id="demo"></p> <script> let text = "Is this ..…