Regular Expressions 101

Sponsors

Library entries

0
pcre2

T1

Reguljärt uttryck för att matcha T1
Submitted by Jonas Thor - 27 minutes ago
0
java

Other segment

Other segments
Submitted by Lufram - 3 hours ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 3 hours ago
0
pcre2

URL 2

http https www - ww1 - ww999
Submitted by Andy - 19 hours ago
0
pcre2

DwgBatch - Ändra datumformat

Kurs DwgBatch Ändra datumformat
Submitted by Jonas Thor - 2 days ago
0
pcre2

find supertype of

for express
Submitted by anonymous - 3 days ago
0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - 4 days ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - 5 days ago
0
pcre2

MD highlight remover

Remove highlights from md files
Submitted by anonymous - 5 days ago
0
pcre2

MD higlighter

Mark words to auto-higlight
Submitted by anonymous - 5 days ago
0
pcre2

perga

regex to find total payment
Submitted by anonymous - 7 days ago

Parse getopt options from a Bash script

Vote

0

Regular Expression
pcre

/
getopt(?:s|)(?: (?:-[a-zA-Z])*)*(?'name'[$a-zA-Z]+|)\s(?:(?:-o|--options) (?'short'.+) (?:-l|--longoptions|--long) (?'long'(?:[a-zA-Z0-9]|,|:|\$)+) \-\- \"\$@\"|(?:(?:(?:-[a-zA-Z])*|)\s*\"(?'while'(?:[a-zA-Z0-9]|,|:|\$)+)\"))
/
gm

Description

Loading markdown...
Submitted by Spyingwind - a month ago