Regular Expressions 101

Library entries

1
python

lines with 2 consecutive chars

no description available
Submitted by anonymous - 6 years ago
1
python

Any word

no description available
Submitted by anonymous - 6 years ago
1
python

Https

no description available
Submitted by anonymous - 6 years ago
1
javascript

form regex

no description available
Submitted by anonymous - 6 years ago
1
javascript

Statful Entities Name

no description available
Submitted by anonymous - 6 years ago
1
python

test

learning regex in python
Submitted by anonymous - 6 years ago
1
python

Chord scanning

no description available
Submitted by anonymous - 6 years ago
1
javascript

double number

no description available
Submitted by anonymous - 6 years ago
1
python

#define

no description available
Submitted by anonymous - 6 years ago

Regex for chatbot to match & extract multiple command

Vote

1

Regular Expression
javascript

/
(?<prefix>(?:^|^[\s\n\t\r]+)\/(?:[\s\n\t\r]*)|(?<=[\s\n\t\r])\.:(?:[\s\n\t\r]*)|(?<=[\s\n\t\r])::(?:[\s\n\t\r]*))(?<command>[a-zA-Z0-9]+)(?:[\s\n\t\r]*)(?<arguments>[^]*?(?=(?<=[\s\n\t\r])\.:|(?<=[\s\n\t\r])::|$))
/
g

Description

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