Regular Expressions 101

Sponsors

Library entries

1
pcre

capturing div a or span or etc

no description available
Submitted by anonymous - 3 years ago
1
pcre

c comments

no description available
Submitted by anonymous - 3 years ago
1
pcre

c without comments for valid c code

no description available
Submitted by anonymous - 3 years ago
1
pcre

Image tags

Extract image tags from a HTML code
Submitted by anonymous - 3 years ago
1
python

s3_date_select

no description available
Submitted by anonymous - 3 years ago
1
pcre

Add EnumMember

no description available
Submitted by anonymous - 3 years ago
1
pcre

Years before 1990

Match titles of all films produced before 1990.
Submitted by anonymous - 3 years ago
1
pcre

Parse parts of fail2ban log

no description available
Submitted by anonymous - 3 years ago
1
pcre

REGEX SLIP PA

Le os slips de supermercado do Pão de Açúcar
Submitted by anonymous - 3 years ago
1
pcre

REGEX SLIP PA

Le os slips de supermercado do Pão de Açúcar
Submitted by anonymous - 3 years ago
1
python

filenamewhitlist

no description available
Submitted by anonymous - 3 years ago
1
pcre

Test2

no description available
Submitted by anonymous - 3 years ago
1
pcre

File URL

no description available
Submitted by anonymous - 3 years ago
1
pcre

Montant

no description available
Submitted by anonymous - 3 years ago
1
pcre

Akeneo-PIM -> Nodhos

no description available
Submitted by anonymous - 3 years ago

Youtube id und parameter extraction

Vote

1

Regular Expression
pcre

%
# # Inspired by http://stackoverflow.com/questions/6556559/youtube-api-extract-video-id # Example: https://www.youtube.com/watch?v=o8QuLYXKNCg&rel=0&autoplay=1 # # Match any youtube URL (?:https?://)? # Optional scheme. Either http or https (?:www\.)? # Optional www subdomain (?: # Group host alternatives youtu\.be/ # Either youtu.be, | youtube\.com # or youtube.com (?: # Group path alternatives /embed/ # Either /embed/ | /v/ # or /v/ | /watch\?v= # or /watch\?v= ) # End path alternatives. )? # End host alternatives. ([\w-]{10,12}) # Allow 10-12 for 11 char youtube id. (?:[&?](.*)) # Optional Parameters $
%
x

Description

Loading markdown...
Submitted by erotanimul (co-author ;) - 7 years ago