current location: Home > Download > Learning resources > Web page production > Regular-Expressions regular expressions

Regular-Expressions regular expressions
Classify: Learning materials / Web page production | Release time: 2018-01-10 | visits: 2990869 |
Download: 209 |
Latest Downloads
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
24 HoursReading Leaderboard
- 1 Lost Records: Bloom & Rage - This Old House Choices Guide
- 2 Marvel Rivals: How To Counter The Thing
- 3 Civilization 7: Dark Ages, Explained
- 4 Pokemon TCG: Archaludon Dialga Deck Guide
- 5 Zenless Zone Zero: Elpis Ultimate Angler Championship Event Guide
- 6 Roblox: Fisch - How To Get The Submarine
- 7 Final Fantasy 14: Moogle Treasure Trove - The Hunt For Phantasmagoria Event Guide
- 8 Quick macOS Tip: Create and Use Text Clippings for Productivity
- 9 NYT Connections Answers And Hints - February 27, 2025 Solution #627
- 10 NYT Strands Answers And Hints - February 27, 2025 Solution #361
- 11 Civilization 7: How To Use Nuclear Weapons
- 12 How to Organize Photos on Mac? Ways to Arrange Them on MacBook Air/Pro
- 13 How to Share Wi-Fi Password from Mac to iPhone? How to Transfer It?
- 14 This Phone Is More Camera Than Phone
- 15 Avira Antivirus Review: Is It Good for You? [Full Overview of Features, Price, Pros & Cons]
Latest Tutorials
-
- Go language practical GraphQL
- 2819 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4188 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2257 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3009 2024-03-29
Regular expression, also known as regular expression, regular expression, regular expression, regular expression, regular expression (English: Regular Expression, often abbreviated as regex, regexp or RE in code).
Regular expressions use a single string to describe and match a series of strings that match a certain syntax rule. In many text editors, regular expressions are often used to retrieve and replace text that matches a certain pattern.
1. Character class
1. Character class: can match any character it contains
eg: /[abc]/ matches any one of the letters "a", "b", and "c"
2. Negative character class: Define the negative character class through the "^" character, which matches all characters not contained in square brackets. When defining a negative character class, put a "^" symbol as the first character inside the left bracket.
eg:/[^abc]/ matches all characters except "a", "b", and "c".
3. \s: matches spaces, tabs and other Unicode whitespace characters;
. : Any character except newlines and other Unicode line terminators.
