Html – regex expression to find 10 or 100,1000…doesn't work
I create the regex /(10?|10{2,})/g to find 1,10 or 100,1000... but the code below doesn't return the expected result. I don't know where I went wrong, please help me! <!DOCTYPE html> <html> <body> <h2>JavaScript Regular Expressions</h2> <p>Do a global search…