regex match any number of digits
^[0-9]For matching an integer number of one single char/digit, specify:
[0-9]
But for matching any number of more than one char/digit; add "+":
[0-9]+
Example for matching hour with minutes of HH:MM format in a file:
grep "[0-9]\+\:[0-9]\+" file.txt
Also in C++:
- install mpg321
- rename computer ubuntu 20.04
- Failed to start Docker Application Container Engine
- git stash apply item
- print scipy version
- powershell beeb
- ef remove migration
- how to install wps office in ubuntu
- Install Lumen CSV Reader package from Nuget Package Manager in Visual Studio
- important linux command
- is sequal ace in linux?
- git push command steps
- how to install fish in debian
- install angular cli specific version
- composer uninstall package symfony
- how to install rpm on linux
- add arabic keyboard ubuntu 20.04
- discard unstaged changes git
- uninstall vscode linux
- rails reset gemfile.lock
- use svg in gatsby
- while loop bash
- instagram "error_type": "OAuthException", "code": 400, "error_message": "Invalid authorization code"}%
- E: Unable to locate package wsl