Regular Expressions 101

Sponsors

Library entries

1
python

time

get time in string 33:20 a.m
Submitted by Hoang Phuong - Gia Lai - 7 years ago
1
python

Date

Find and ISO format date.
Submitted by Andrew Chalk - 7 years ago
4
pcre

Jeff Test

Valid and Invalid emails
Submitted by anonymous - 7 years ago
0
pcre

Apache log regex

Regex pattern for Apache log
Submitted by Sujan Thapa - 7 years ago
1
pcre

dsadas

dsadsadas
Submitted by anonymous - 7 years ago
1
pcre

ates

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

SP ZONE SEARCH PATTERN

no description available
Submitted by Woohoo - 7 years ago
0
pcre

Number

no description available
Submitted by Jaromir Muller - 7 years ago
1
python

PECL: find stable versions

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

SLICING A PATTERN

YEAR_MONTH_DAY HOUR_MINUTE_SECOND (UTC)
Submitted by Kmna - 7 years ago
1
pcre

Butle_UPMC_Match

Work for BHS
Submitted by Brian Mulhall - 7 years ago
1
pcre

removing a match (Date timefield)

trimming unwanted timestamps
Submitted by Kmna - 7 years ago
1
pcre

pattern

lookahead
Submitted by Kmna - 7 years ago
0
pcre

date format slicing

lookahead
Submitted by Kmna - 7 years ago
2
pcre

Basic Email

no description available
Submitted by Kareem Cambridge - 7 years ago
1
python

java

no description available
Submitted by anonymous - 7 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