current location: Home > Download > Learning resources > Web page production > Most commonly used regular expressions

Most commonly used regular expressions
Classify: Learning materials / Web page production | Release time: 2018-02-08 | visits: 2875315 |
Download: 240 |
Latest Downloads
Horror Beat Phase Maker
喜马拉雅儿童
斑马AI学
超市经理模拟器
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
24 HoursReading Leaderboard
- 1 Tron founder Justin Sun plans to discuss reconciliation with the SEC! Maybe related to Trump's cryptocurrency project WLFI
- 2 Nightingale Best Realm Cards to Use
- 3 Create Your Own jQuery Digital Clock
- 4 What kind of currency is KMNO? Does KMNO have potential?
- 5 What is the difference between pre-market and after-market trading? Detailed explanation of the differences between pre-market and after-market trading
- 6 How much is the price of MRI coins? The latest price trend of MRI coin
- 7 Binance Launchpool No. 64 project analysis and price forecast: Can RedStone (RED) ignite the market?
- 8 Zhao Changpengfa 4: Binance will not be sold! He Yi: Don't be someone else's thug in vain
- 9 The huge pump of BTC ecosystem! ODINDOG and ODINCAT surged! Layout 4 coins with a 100-fold increase!
- 10 Does Binance App support Simplified Chinese? Is there really? Specific tutorial on setting language of Binance App
- 11 What currency is CRTS? Is CRTS worth investing in?
- 12 Is shark fin a structured product for guaranteed basic type? Are shark fins safe?
- 13 One article to learn about Hong Kong Ya Holdings further increasing its holdings in Bitcoin! Total holdings increased to 8.88 BTC
- 14 Is SOL coins a public chain? Does SOL coins have any prospects?
- 15 Is hedge fund arbitrage trading the culprit?
Latest Tutorials
-
- Go language practical GraphQL
- 2852 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4213 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2268 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3017 2024-03-29
1. Expression of check digits
1 Number: ^[0-9]*$
2 n-digit number: ^\d{n}$
3 A number of at least n digits: ^\d{n,}$
4 m-n digit number: ^\d{m,n}$
5 Numbers starting with zero and non-zero: ^(0|[1-9][0-9]*)$
6 Numbers starting with non-zero and with up to two decimal places: ^([1-9][0-9]*)+(.[0-9]{1,2})?$
7 Positive or negative numbers with 1-2 decimal places: ^(\-)?\d+(\.\d{1,2})?$
8 Positive numbers, negative numbers, and decimals: ^(\-|\+)?\d+(\.\d+)?$
9 Positive real numbers with two decimal places: ^[0-9]+(.[0-9]{2})?$
10 Positive real numbers with 1~3 decimal places: ^[0-9]+(.[0-9]{1,3})?$
11 Non-zero positive integer: ^[1-9]\d*$ or ^([1-9][0-9]*){1,3}$ or ^\+?[1-9][0 -9]*$
12 Non-zero negative integers: ^\-[1-9][]0-9"*$ or ^-[1-9]\d*$
13 Non-negative integers: ^\d+$ or ^[1-9]\d*|0$
14 Non-positive integers: ^-[1-9]\d*|0$ or ^((-\d+)|(0+))$
15 Non-negative floating point number: ^\d+(\.\d+)?$ or ^[1-9]\d*\.\d*|0\.\d*[1-9]\d*|0? \.0+|0$
16 Non-positive floating point number: ^((-\d+(\.\d+)?)|(0+(\.0+)?))$ or ^(-([1-9]\d*\.\ d*|0\.\d*[1-9]\d*))|0?\.0+|0$
17 Positive floating point number: ^[1-9]\d*\.\d*|0\.\d*[1-9]\d*$ or ^(([0-9]+\.[0- 9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9] *[1-9][0-9]*))$
18 Negative floating point number: ^-([1-9]\d*\.\d*|0\.\d*[1-9]\d*)$ or ^(-(([0-9]+ \.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|( [0-9]*[1-9][0-9]*)))$
19 Floating point number: ^(-?\d+)(\.\d+)?$ or ^-?([1-9]\d*\.\d*|0\.\d*[1-9]\ d*|0?\.0+|0)$
