Regular Expressions 101

Sponsors

Library entries

0
javascript

MyRegex

Parse
Submitted by anonymous - 2 days ago
0
javascript

import syntax for regex with grouping

HAYO!
Submitted by CreeJee - 3 days ago
0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - 4 days ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 4 days ago
0
javascript

File extension

Parse file extension.
Submitted by Webmato - 4 days ago
0
python

apdl flst

apdl flst
Submitted by anonymous - 5 days ago
0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - 8 days ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 9 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 12 days ago
0
javascript

sql inj

as
Submitted by anonymous - 13 days 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