Regular Expressions 101

Sponsors

Library entries

1
javascript

IBAN

The regex of IBAN of the Zend Framework validator
Submitted by Zeyckler - 6 years ago
1
javascript

SegmentLoaderRegex

no description available
Submitted by Sanoj - 6 years ago
1
javascript

Test

Test
Submitted by Test - 6 years ago
1
javascript

Shortcode Js

[shortcode attr="data"]
Submitted by khiconit - 6 years ago
1
javascript

Username

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

^((?!^City$)[a-zA-Z '])+$

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

Cascade ID

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

Outher {} brackets

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

css_dark

css样式排除github的一个正则表达式
Submitted by amy - 6 years ago
1
javascript

|

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

Ticketnummer

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

Regex HTML

Trying to get in between ><
Submitted by anonymous - 6 years ago
1
javascript

JS terminal stuff

no description available
Submitted by b3nsn0w - 6 years ago

Get path from any text

Vote

3

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 - a day ago