Regular Expressions 101

Sponsors

Library entries

1
python

linkedin

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

TSN Tivo Lite

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

TSN Lite Zapper

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

TSN Lite DVR

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

Remove Duplicates

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

2line

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

Redis output

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

phone numbers with text

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

matches any MAC ID in router log files

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

email or empty

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

Any or empty

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

GCS streams file

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

TN Arc Story

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

дефис вязкости

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 - a year ago