AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,097
- Office Version
- 2019
- 2010
- Platform
- Windows
I'm trying to understand this pattern
RE.Pattern = "^[A-Z|b]?\d+\. .*:[0-5]\d$"
Is the following correct and could you tell me what \. . means ?
^ Start
[A-Z|b] Any char "A-Z" or "b"
? all before zero Or one times
\d+ Matches a single digit one or more
\. . ????
*:[0-5] Anything before a colon followed by numbers 0-5
\d Matches a single digit (Does this mean 2 digits in total after the colon)
$ End
Thanks
RE.Pattern = "^[A-Z|b]?\d+\. .*:[0-5]\d$"
Is the following correct and could you tell me what \. . means ?
^ Start
[A-Z|b] Any char "A-Z" or "b"
? all before zero Or one times
\d+ Matches a single digit one or more
\. . ????
*:[0-5] Anything before a colon followed by numbers 0-5
\d Matches a single digit (Does this mean 2 digits in total after the colon)
$ End
Thanks