EloiStree / HelloSharpForUnity3D

Here we are going to check all the basic need to work in Unity3D with C#
0 stars 0 forks source link

Keyword: Regular Expression #291

Open EloiStree opened 1 month ago

EloiStree commented 1 month ago

https://www.tutorialspoint.com/csharp/csharp_regular_expressions.htm

Voir #292

https://regexr.com

Character classes Text
. any character except newline
\w\d\s word, digit, whitespace
\W\D\S not word, digit, whitespace
[abc] any of a, b, or c
[^abc] not a, b, or c
[a-g] character between a & g
^abc$ start / end of the string
\b\B word, not-word boundary
.*\ escaped special characters
\t\n\r tab, linefeed, carriage return
(abc) capture group
\1 backreference to group #1
(?:abc) non-capturing group
(?=abc) positive lookahead
(?!abc) negative lookahead
a*a+a? 0 or more, 1 or more, 0 or 1
a{5}a{2,} exactly five, two or more
a{1,3} between one & three
a+?a{2,}? match as few as possible
ab|cd match ab or cd

image

EloiStree commented 4 weeks ago

image

EloiStree commented 4 weeks ago

image https://youtu.be/6gddK-cOxYc?t=3