Regular Expressions 101

Library entries

1
javascript

map json

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

day date time

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

word boundary position

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

matching numbers

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

matching phone numbers

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

Replacing markup link to html

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

s3_date_select

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

email validation

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

Repeated words

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

filenamewhitlist

no description available
Submitted by anonymous - 3 years ago

Separate path string to dir, filename (with extension), file (without extension) and extension. Groups is named

Vote

1

Regular Expression
javascript

/
(?<dir>.+?)\/?(?<file>(?<name>\w+)\.(?<ext>\w+))?$
/
mg

Description

Loading markdown...
Submitted by anonymous - 3 years ago