Regular Expressions 101

Community Patterns

-1

Regex example

PCRE2 (PHP >=7.3)
For pldi
Submitted by PlaceReporter99 - 8 months 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