Regular Expressions 101

Sponsors

Library entries

1
pcre2

hdfilmcehennemi ana filmler

nothing
Submitted by no one - a year ago
1
pcre2

List of regex for spell replacing

Nothing interesting
Submitted by Luke - a year ago
1
pcre2

Asset Market

Asset market/exchange tests
Submitted by anonymous - a year ago
1
pcre2

Mine

smth
Submitted by anonymous - a year ago
1
pcre2

Search for a date (Y/m/d or d/m/Y)

Search for a date in a text.
Submitted by globdug - a year ago
1
pcre2

Email Extractor

([a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_-]+)
Submitted by Kashif - a year ago
1
pcre2

Pattern string

Example of test I did do to company.
Submitted by Claudio Santos - a year 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 - 7 days ago