Regular Expressions 101

Sponsors

Library entries

0
pcre2

Вся строка начиная со слова

а
Submitted by anonymous - 10 months ago
0
pcre2

hexadecimal

Hexadecimal regex
Submitted by anonymous - 10 months ago
0
pcre2

Octal regex

Octal regex
Submitted by anonymous - 10 months ago
0
javascript

Indian RTO

RTO code for validation
Submitted by Rama - 10 months ago
0
pcre2

thx hjpotter

Thanks
Submitted by hjpotter92 - 10 months ago

youtube iframe embed code src video id and params

Vote

0

Regular Expression
javascript

/
<iframe[\s\w="\/]*src="(?<src>(?:https*:\/\/)?www\.youtube(?:-nocookie)?\.com\/embed\/(?<vid>[-a-zA-Z0-9@:;%_+.~#&=]+)\??(?<params>[-a-zA-Z0-9@:;%_+.~#?&\/=]*))"[^>]*>(?:<\/iframe>)?$
/
gm

Description

Loading markdown...
Submitted by Robert Klein Kromhof - 4 years ago