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
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
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 - 6 years ago
2
javascript

URL with Port

no description available
Submitted by rkl - 6 years ago

find all link(<a>) tags expect your links in href attribute

Vote

11

Regular Expression
javascript

/
<(a+) (?!(?:href=(["|']+)([http:\/\/])*link\.com([\/])?(.*?)["|'])) *[^>]*>(.*?)[^>]>
/
gm

Description

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