All you want is the below regex:
^\d+$
More Related Contents:
- Regex: match everything but a specific pattern
- Regex lookahead, lookbehind and atomic groups
- Regular Expression for alphanumeric and underscores
- How to match multiple occurrences of a substring
- Find and kill a process in one line using bash and regex
- Regular expression to match standard 10 digit phone number
- Regex: matching up to the first occurrence of a character
- Convert a char to upper case using regular expressions (EditPad Pro)
- Regex: Remove lines containing “help”, etc
- How to check if a line is blank using regex
- Match linebreaks – \n or \r\n?
- Notepad++ incrementally replace
- How would I import YouTube Likes and Dislikes and a ratio from YouTube onto Google Sheets? [closed]
- What is the complexity of regular expression?
- Remove .php from urls with htaccess
- R dplyr: rename variables using string functions
- What does ?= mean in a regular expression?
- Regular Expressions with repeated characters
- Why do ^ and $ not work as expected?
- Is there an online RegexBuddy-like regular expression analyzer? [closed]
- Regular Expression Match to test for a valid year
- How can I insert a tab character with sed on OS X?
- Google Sheets Formula for Extracting Domain From Website?
- Does \w match all alphanumeric characters defined in the Unicode standard?
- Eclipse, regular expression search and replace
- Matching an optional substring in a regex
- Replace string only once with php preg_replace
- Regular Expression usage with ls
- Difference between regex quantifiers plus and star
- Finding and removing Non-ASCII characters from an Oracle Varchar2