Regular Expressions 101

Sponsors

Library entries

0
pcre

https://regex101.com/r/VrZHR8/1

https://regex101.com/r/VrZHR8/1
Submitted by anonymous - 13 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 15 days ago
0
pcre

filter

filter string
Submitted by anonymous - 17 days ago
0
pcre

1

Prueba 1
Submitted by anonymous - 19 days ago
0
pcre

mvc

com c#
Submitted by anonymous - a month ago
0
pcre

test

teste
Submitted by anonymous - a month ago
1
golang

1

11
Submitted by anonymous - a month 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 - 2 months ago