Regular Expressions 101

Sponsors

Library entries

0
pcre2

Title (Subtitle)

Parse out a title and subtitle
Submitted by anonymous - 17 days ago
0
javascript

sss

ssss
Submitted by anonymous - 17 days ago
2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 17 days ago
0
java

Mpe

coda test
Submitted by anonymous - 18 days ago
0
pcre

Time format

38 Seconds
Submitted by anonymous - 18 days ago
0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 18 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 19 days ago

Find any URL with no trailing slash

Vote

2

Regular Expression
javascript

/
^(https?:\/\/)?(www.)?([\da-zA-z\_\-]+)\.(com|(|[\da-zA-Z]{2,6}))([\/\w \.\-\#\&\?\%\_]*)?([^\/| |\s])$
/
gmi

Description

Loading markdown...
Submitted by oneglory - 7 years ago