Regular Expressions 101

Community Patterns

1

Xcode

PCRE2 (PHP >=7.3)
Xcode
Submitted by iulianOnofrei (U-lee-aan) - 2 days ago
1

just for test

PCRE2 (PHP >=7.3)
don't mind
Submitted by anonymous - 4 days ago
1

datime

PCRE2 (PHP >=7.3)
datetime
Submitted by anonymous - 8 days ago
1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 15 days ago

Regex to find URLs in text

1

Regular Expression
ECMAScript (JavaScript)

/
(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$;-])*
/
gim

Description

Loading markdown...
Submitted by Saheed Odulaja - 3 months ago