Regular Expressions 101

Sponsors

Library entries

0
pcre2

scss class matching

scss class matching
Submitted by lucas - 9 months ago
0
pcre2

Note Body HTML

Match all valid HTML tags
Submitted by anonymous - 9 months ago
0
pcre2

Barcode Regex

Barcode Regex
Submitted by anonymous - 9 months ago
0
pcre2

optional

optional
Submitted by anonymous - 9 months ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 9 months ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 9 months ago

xrandr device line

Vote

0

Regular Expression
pcre2

/
(?P<device_name>\w+)(?P<is_connected> (connected|disconnected))(?P<is_primary> primary)? ((?P<resolution_width>\d+)x(?P<resolution_height>\d+)\+(?P<offset_width>\d+)\+(?P<offset_height>\d+)) \(normal left inverted right x axis y axis\) ((?P<dimension_width>\d+)mm x (?P<dimension_height>\d+)mm)?
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago