Regular Expressions 101

Library entries

0
pcre2

E

E
Submitted by anonymous - 8 months ago
0
pcre2

demo

regex grouping demo
Submitted by Lidro - 8 months ago
0
pcre2

json-extract

eee
Submitted by anonymous - 8 months ago
0
pcre2

Match CSS Gradients

Match CSS Gradients
Submitted by Sean Dellis - 8 months ago
0
pcre2

add _&_ between numbers

adds (space)&(space) between numbers
Submitted by _ - 8 months ago

lsblk-output-regex

Vote

1

Regular Expression
golang

`
(?m)^NAME="(?P<name>(?P<disk>[a-z]+)(?P<partition>\d*))"\sFSTYPE="(?P<fstype>\w*)"\sMOUNTPOINT="(?P<mountpoint>[\w\[\]/]*)"\sSIZE="(?P<size>\d*)"\sTYPE="(?P<type>\w+)"$
`
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago