Regular Expressions 101

Community Patterns

2

UUID 4

PCRE2 (PHP >=7.3)
Detects any UUID 4 strings
Submitted by ShadowNox - 2 years ago

Parsing result of SQL Server version (SELECT @@VERSION)

-2

Regular Expression
.NET 7.0 (C#)

@"
(\d{4}).(\(.*?\)).(?:\(.*\)).-.(\d+\.)?(\d+\.)?(\d+\.)?(\*|\d+)(?:.*?)(?:(\w+).Edition)(?:.*?)(?:Windows.(\w+.\d+.\w+))
"
gm

Description

Loading markdown...
Submitted by M Rivas - a year ago