Regular Expressions 101

Sponsors

Library entries

0
javascript

RTTU Pharsing

RegEx for RTTU Pharsing
Submitted by CVIKL Dubravko - an hour ago
0
pcre2

Gene ID from GTF Attributes

As the title says, duh...
Submitted by anonymous - 4 hours ago
0
pcre2

match the id of linkedin url

match the id of LinkedIn URL
Submitted by goldentwon - a day ago
0
pcre2

Headers

Headers
Submitted by anonymous - a day ago
0
pcre2

Example 1

Example
Submitted by anonymous - 2 days ago
0
javascript

Force email address

Force email address
Submitted by anonymous - 2 days ago
0
golang

pxc plcnext

plcnext version strings
Submitted by anonymous - 2 days ago
0
pcre

exp1

asdf
Submitted by anonymous - 3 days ago
0
pcre2

T1

Reguljärt uttryck för att matcha T1
Submitted by Jonas Thor - 5 days ago
0
pcre2

URL 2

http https www - ww1 - ww999
Submitted by Andy - 6 days ago

Get path from any text

Vote

7

Regular Expression
pcre2

/
(?<opening>\b(?<montage>[a-zA-Z]:[\/\\])|[\/\\][\/\\](?>[?.][\/\\](?:[^\/\\<>:"|?\n\r ]+[\/\\])?(?&montage)?|(?!(?&montage)))|%\w+%[\/\\]?)(?:[^\/\\<>:"|?\n\r ,'][^\/\\<>:"|?\n\r]*(?<![ ,'])[\/\\])*(?:(?=[^\/\\<>:"'|?\n\r;, ])(?:(?:[^\/\\<>:"|?\n\r;, .](?: (?=[\w\-]))?(?:\*(?!= ))?(?!(?&montage)))+)?(?:\.\w+)*)|(?:'(?&opening)(?=.*'\W|.*'$)(?:[^\/\\<>:'"|?\n\r]+(?:'(?=\w))?[\/\\]?)*')|"(?&opening)(?=.*")(?:[^\/\\<>:"|?\n\r]+[\/\\]?)*"
/
g

Description

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