Regular Expressions 101

Sponsors

Library entries

-1
pcre2

Eide Chrysler New Goal

no description available
Submitted by anonymous - 2 years ago
-1
pcre2

Url regex

no description available
Submitted by anonymous - 2 years ago
-1
pcre2

LinuxOSVersion

no description available
Submitted by anonymous - 2 years ago
-1
pcre2

From conf table to hive table

no description available
Submitted by anonymous - a year ago
-1
pcre2

smargs

smargs not margins
Submitted by rkatz - a year ago
-1
golang

rtrtr

gtgtg
Submitted by anonymous - a year ago
-1
pcre2

T

T
Submitted by me - a year ago
-1
pcre2

bl_regex_fees_types_2

guif
Submitted by guif - 5 months ago
-1
pcre2

1

1
Submitted by anonymous - 3 months ago
-1
pcre2

213

12312
Submitted by anonymous - 3 months ago
-1
pcre2

slug numeric

pattern to validate a slug with numbers
Submitted by mestri.rodrigo - 3 months ago
-1
pcre2

is

Hi it is me
Submitted by anonymous - 2 months ago
0
golang

aprs

no description available
Submitted by anonymous - 4 years ago

Get path from any text

Vote

5

Regular Expression
pcre2

/
((?:(?# path without "" )(?<opening>(?# 'C:/', '//', '//./<UNC/C:>', '//?/<UNC/C:>' or '%VariableWindows%')(?<UNCPrefix>[\/\\][\/\\][?.][\/\\](?:UNC[\/\\])?)?(?<montage>\b[a-zA-Z]:[\/\\])|(?:(?:(?&UNCPrefix))|(?:[\/\\][\/\\](?!(?&montage))))|(?:%\w+%[\/\\]?))(?:(?# directory btw // )[^\/\\<>:"|?\n\r ][^\/\\<>:"|?\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 - 3 months ago