Regular Expressions 101

Sponsors

Library entries

1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 6 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
dotnet

Get h1-6 tag

(.*?)
Submitted by OlegBel - 10 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 - 13 days ago

Wrap long string to spec length

Vote

27

Regular Expression
pcre

/
(\b.{1,40})(?:\s+|\n|$)
/
iug

Description

Loading markdown...
Submitted by fullpipe - 10 years ago