Regular Expressions 101

Community Patterns

-3

IPv4 address

Python
Matches any IPv4 address
Submitted by anonymous - 8 years ago
-3

s

ECMAScript (JavaScript)
s
Submitted by anonymous - 10 years ago
-3

1111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

Html Tags

ECMAScript (JavaScript)
Matches HTML structure
Submitted by sagar - 8 years 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 - 5 months ago