vue-regex/Notes.md
2025-04-01 22:26:47 +02:00

20 lines
839 B
Markdown

Rule 1:
Strings can be simly matched by setting them as a regex Rule
Rule 2:
Dots represent any number of any Character
Rule 3:
Put characters in square brackets to match any of them
Rule 4:
Put a rage of numbers like inside square brackets with a dash in between to match a range
Rule 5:
Use an asterix to match any emount of a specific character
Rule 6:
Use a plus sign to match a specific character if it exists one more more times
Rule 7:
Use a questionmark to match a character that could exists optionally
Rule 8:
To match a specific amount of a specific character use curly braces
Rule 9:
To match a specific amount or a higher amount of a specific character use curly braces with a comma
Rule 10:
To match a number of characters of a specific range of a character use curly curly braces with a the range and a comma in between