Regular Expressions 101

Community Patterns

2

object

PCRE2 (PHP >=7.3)
Json Object
Submitted by anonymous - 3 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