Regular Expressions 101

Sponsors

Library entries

-1
golang

rtrtr

gtgtg
Submitted by anonymous - a year ago
0
golang

aprs

no description available
Submitted by anonymous - 4 years ago
0
golang

Action Rec

no description available
Submitted by anonymous - 4 years ago
0
golang

Find DevExpress Assembly References

no description available
Submitted by anonymous - 4 years ago
0
golang

Table Stage 1

no description available
Submitted by anonymous - 4 years ago
0
golang

Table Stage Two

no description available
Submitted by anonymous - 4 years ago
0
golang

Parse tables in SQL Dump

no description available
Submitted by anonymous - 4 years ago
0
golang

Parse fields of SQL Dump

no description available
Submitted by anonymous - 4 years ago
0
golang

My lib

no description available
Submitted by anonymous - 4 years ago
0
golang

espacios antes

no description available
Submitted by anonymous - 4 years ago
0
golang

prepareTicket_closing

no description available
Submitted by anonymous - 3 years ago
0
golang

Phone

Phone Number
Submitted by anonymous - 3 years ago
0
golang

issue lookbehind

no description available
Submitted by anonymous - 3 years ago
0
golang

Splitter ES

no description available
Submitted by anonymous - 3 years ago
0
golang

eleveo

no description available
Submitted by anonymous - 3 years ago
0
golang

FB match group

no description available
Submitted by anonymous - 3 years ago
0
golang

url match

url match
Submitted by anonymous - 3 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