Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 18 minutes ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 8 hours ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - a day ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 3 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 4 days ago

iPhone, iPad, iPod user agent

Vote

0

Regular Expression
pcre2

/
(((iPhone([\d\W]+)|iPhone|iPad)(;|\s\d+;|\s\w+;|\s\d+\w+;)?(\s+)?(U;)?)(\s+)?(CPU|iOS)([^\);]+)?)
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago