Regular Expressions 101

Sponsors

Library entries

2
javascript

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
2
javascript

bye

no description available
Submitted by anonymous - 7 years ago
2
javascript

Date or N/A

Accepts Date or not applicable string.
Submitted by Toufique Ahmed - 7 years ago
2
python

test

no description available
Submitted by anonymous - 7 years ago
2
javascript

problem for homework

no description available
Submitted by anonymous - 7 years ago
2
javascript

kasd; fk.!@#$%^&*()*()%^&*()_

no description available
Submitted by anonymous - 7 years ago
2
javascript

Removes script tags

no description available
Submitted by ghs - 7 years ago
2
javascript

Href parse

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
2
python

Regex for Chemical Compounds

no description available
Submitted by Haiming Zhao - 7 years ago
2
javascript

Remove XSS

no description available
Submitted by Harish Thakur - 7 years ago
2
javascript

SSN

allow nine digits only
Submitted by anonymous - 7 years ago
2
javascript

get href

gets value of href
Submitted by me - 7 years ago

url

Vote

4

Regular Expression
javascript

/
\(?(?:(http|https):\/\/)(?:((?:[^\W\s]|\.|-|[:]{1})+)@{1})?((?:www.)?(?:[^\W\s]|\.|-)+[\.][^\W\s]{2,4}|localhost(?=\/)|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?::(\d*))?([\/]?[^\s\?]*[\/]{1})*(?:\/?([^\s\n\?\[\]\{\}\#]*(?:(?=\.)){1}|[^\s\n\?\[\]\{\}\.\#]*)?([\.]{1}[^\s\?\#]*)?)?(?:\?{1}([^\s\n\#\[\]]*))?([\#][^\s\n]*)?\)?
/

Description

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