Regular Expressions 101

Sponsors

Library entries

1
pcre2

Asset Market

Asset market/exchange tests
Submitted by anonymous - a year ago
1
pcre2

Mine

smth
Submitted by anonymous - a year ago
1
pcre2

Search for a date (Y/m/d or d/m/Y)

Search for a date in a text.
Submitted by globdug - a year ago
1
pcre2

Email Extractor

([a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_-]+)
Submitted by Kashif - a year ago
1
pcre2

Pattern string

Example of test I did do to company.
Submitted by Claudio Santos - a year ago
1
golang

lsblk-output-regex

Trying to adapt this regex to support LVM.
Submitted by anonymous - a year ago

Extract URL parts only named capturing groups

Vote

2

Regular Expression
golang

`
^(?P<scheme>[^:\/?#]+):(?:\/\/)?(?:(?:(?P<login>[^:]+)(?::(?P<password>[^@]+)?)?@)?(?P<host>[^@\/?#:]*)(?::(?P<port>\d+)?)?)?(?P<path>[^?#]*)(?:\?(?P<query>[^#]*))?(?:#(?P<fragment>.*))?
`
gm

Description

Loading markdown...
Submitted by dixanms - 6 months ago