How to solve the code, from a given string, print the string in all uppercase if the number of uppercase is more than lowercase letters? Otherwise if lowercase is greater or equal
![How to check if a string contains at least one number using regular expression (regex) in JavaScript? - DEV Community 👩💻👨💻 How to check if a string contains at least one number using regular expression (regex) in JavaScript? - DEV Community 👩💻👨💻](https://res.cloudinary.com/practicaldev/image/fetch/s--dpEYJenu--/c_imagga_scale,f_auto,fl_progressive,h_720,q_auto,w_1280/https://melvingeorge.me/_next/static/images/main-e73d147e4831801067247fa23061d0af.jpg)
How to check if a string contains at least one number using regular expression (regex) in JavaScript? - DEV Community 👩💻👨💻
![How to check if a string contains at least one number using regular expression (regex) in JavaScript? - DEV Community 👩💻👨💻 How to check if a string contains at least one number using regular expression (regex) in JavaScript? - DEV Community 👩💻👨💻](https://res.cloudinary.com/practicaldev/image/fetch/s--1QDCh46J--/c_imagga_scale,f_auto,fl_progressive,h_1080,q_auto,w_1080/https://melvingeorge.me/_next/static/images/main-e73d147e4831801067247fa23061d0af.jpg)