Regular Expressions 101

Sponsors

Library entries

0
javascript

Match HTML tag with specific attributes

1
Submitted by anonymous - 10 days ago
0
javascript

Company name

Company name
Submitted by anonymous - 11 days ago
0
golang

domain

ss
Submitted by sssssss - 13 days ago
0
golang

Semver split

"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by Icaruk - 15 days ago
0
javascript

Match Emojis

Match all emojis using unicode
Submitted by Sagar Panchal - 15 days ago
0
javascript

edgedb dsn parser

parse an edgedb DSN string
Submitted by dotlouis - 16 days ago
0
javascript

city

Letters, space and - , . ' & / 
Submitted by anonymous - 17 days ago
0
javascript

Streetname

Letters, numbers, space and  . ,  ' - /
Submitted by anonymous - 17 days ago

Extract domain and URI from an URL (no auth support)

Vote

0

Regular Expression
javascript

/
^(?:https?:\/\/)?([-\w.]+\.[\w]+){1}(\/[\/\d\w\.\-\?\+\&\#\=\~]*)?$
/
gi

Description

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