Regular Expressions 101

Sponsors

Library entries

1
pcre

34 ile 3982 nolu özelliklerin seçimi

Kemik Grubu
Submitted by Hakan YILMAZER - 8 years ago
0
python

Find email address in a string.

no description available
Submitted by anonymous - 8 years ago
1
pcre

MongoDB _ID

Detect if is a valid id for MongoDB
Submitted by manuerumx - 8 years ago
1
pcre

dapi

no description available
Submitted by anonymous - 8 years ago
1
pcre

ref match

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

trGet

no description available
Submitted by anonymous - 8 years ago
1
pcre

Why is this not matching the closest <A tag?

no description available
Submitted by Daz - 8 years ago
-2
pcre

Find multiple XML documents in file

as title says
Submitted by Doro - 8 years ago

Get path from any text

Vote

1

Regular Expression
pcre2

/
((?:(?# path without "" )(?<opening>(?# 'C:/', '//' or '%VariableWindows%')(?<montage>\b[a-zA-Z]:[\/\\])|(?:[\/\\][\/\\])|(?:%\w+%[\/\\]?))(?:(?# directory btw // )[^\/\\<>:"|?\n\r]+[\/\\])*(?:(?#we search for fileName only if next character is pathFriendly)(?=[^\/\\<>:"'|?\n\r;, ])(?:(?#name file ? dir ?)(?:[^\/\\<>:"|?\n\r;, .](?: (?=\w))?(?:\*(?!= ))?(?!(?&montage)))+)?(?:(?#extention)\.\w+)*))|(?:(?# path quoted "" or '' )["'](?&opening)(?=.*?["'])(?:[^\/\\<>:'"|?\n\r]+[\/\\]?)+?["']))
/
g

Description

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