Regular Expressions 101

Library entries

1
javascript

UK Telephone Numbers

no description available
Submitted by Riaan Joubert - 5 years ago
1
javascript

Find CSS hexadecimal color values

no description available
Submitted by anonymous - 5 years ago
1
pcre

French Address Regex

French address regex Work on ruby
Submitted by anonymous - 5 years ago
1
javascript

VS Code - Stylus Problem Matcher

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

1G

no description available
Submitted by anonymous - 2 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