Regular Expressions 101

Sponsors

Library entries

1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 7 hours ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 6 days ago
0
javascript

US|CA dollar

US|CA dollar regexp
Submitted by cagatayucar - 7 days ago
0
javascript

Percentage only

Percentage only
Submitted by cagatayucar - 7 days ago
0
javascript

Tel

Válida números de telefone
Submitted by Mateus - 8 days ago
0
javascript

Mail address validation

Validates mail addresses
Submitted by Sjoerd de Vries - 11 days ago
0
javascript

placeables

placeables
Submitted by anonymous - 11 days ago
0
javascript

VidID: YouTube

ID of YouTube video with provider flag
Submitted by tomByrer - 14 days ago
0
javascript

Pass/Fail

gaming pass fail shortcut
Submitted by Steve Muchow - 18 days ago

Superscript symbols and numbers in HTML only where valid.

Vote

0

Regular Expression
javascript

/
([a-zA--ÿ]+|^)(?<!(alt='|".+|href='|"|".+|<|>| \d\w| \w\d|\/\*))([1-9]|MC\/[1-9]|MD\/[1-9]|MC|MD|&yen;|&dagger;|&Dagger;|&loz;|&#x2662;|&diam;|&#8734;|&#450;|&#x1c2;|&infin;|&diams;|&reg;|&#x24c7;|&Delta;|&#916;|¥|||||||®||®\/||ǂ|§|Δ)(?=\s|\.|:|;||,|<|$)(?!\w| \d|\$|¢|&cent;|(&nbsp;))
/
g

Description

Loading markdown...
Submitted by Colin Whelan - 2 months ago