Regular Expressions 101

Sponsors

Library entries

0
python

Match files' extention

match files' extention
Submitted by anonymous - 2 months ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - 2 months ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - 2 months ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - 2 months ago
0
python

foengz1

htmltag
Submitted by Foengz - 3 months ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 3 months ago

Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)

Vote

-1

Regular Expression
pcre

/
^(?:.*[\/\\])?(?<FileNameWithoutExtension>.*)\.(.*)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 5 months ago