Regular Expressions 101

Library entries

7
pcre

Any positive integer except zero

no description available
Submitted by Harsh - 8 years ago
7
javascript

Date and time format - ISO 8601

Matches ISO 8601 date formats
Submitted by Ettienne - 7 years ago
6
javascript

Password

no description available
Submitted by anonymous - 9 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 9 years ago
6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 9 years ago
6
pcre

Extract style

no description available
Submitted by anonymous - 8 years ago
6
pcre

Username:Password

Regex For finding username:password
Submitted by Ghost - 8 years ago

Wrap long string to spec length

Vote

28

Regular Expression
pcre

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

Description

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