Regular Expressions 101

Sponsors

Library entries

0
pcre2

Gene ID from GTF Attributes

As the title says, duh...
Submitted by anonymous - 8 hours ago
0
python

Bespoke NGINX Log Parse

Splits NGINX logs into named groups
Submitted by Simon - a day 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
1
java

Email finder

Matches with the valid email addresses.
Submitted by anonymous - 2 days ago
0
pcre2

Example 1

Example
Submitted by anonymous - 2 days ago
0
pcre2

T1

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

Other segment

Other segments
Submitted by Lufram - 5 days ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 5 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