Regular Expressions 101

Sponsors

Library entries

1
pcre

recognize php

recognize php code
Submitted by Chris Ottersen - 7 years ago
0
pcre

y

all less jpg
Submitted by w - 7 years ago
0
pcre

a

a
Submitted by a - 7 years ago
0
pcre

WB

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

WB

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

tmutil regex ID

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

Project

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

Drupal translations

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

only numbers

A string with only numbers in
Submitted by Gotts - 7 years ago
1
pcre

Match IP Address in PHP

Match IP Address in PHP
Submitted by anonymous - 7 years ago
1
pcre

cidr

spf cidr
Submitted by a - 7 years ago
1
pcre

Data en format dd/mm/aaaa

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

Threema ID

Matches for normal Threema IDs and Gateway Threema IDs
Submitted by rugk - 7 years ago
1
pcre

Find all JS objects with the name

no description available
Submitted by anonymous - 7 years ago

LC-2200 parser

Vote

1

Regular Expression
pcre

/
^[ \t]*(?:(?<label>[a-zA-Z0-9_]+):[ \t]*)? (?: (?<op>[a-zA-Z0-9_\.]+) (?: (?: (?: [ \t]* (?: (?<h0>[-+]?[0oO]?[xX][a-fA-F0-9]{1,8}) | (?<o0>[-+]?[0oO][0-7]+) | (?<b0>[-+]?[0oO]?[bB][01]{1,32}) | (?<l0>[a-zA-Z0-9_]+) | (?<d0>[-+]?\#?\d+) ) [ \t]* (?:\((?<r0b>\$[a-zA-Z0-9_]{2,5})\))?[ \t]* ) | [ \t]*(?<r0>\$[a-zA-Z0-9_]{2,5})[ \t]* (?: (?: ,[ \t]* (?: (?<d1>[-+]?\#?\d+) | (?<h1>[-+]?[0oO]?[xX][a-fA-F0-9]{1,8}) | (?<o1>[-+]?[0oO][0-7]+) | (?<b1>[-+]?[0oO]?[bB][01]{1,32}) | (?<l1>[a-zA-Z0-9_]+) ) [ \t]* (?:\((?<r1b>\$[a-zA-Z0-9_]{2,5})\))?[ \t]* ) | ,[ \t]*(?<r1>\$[a-zA-Z0-9_]{2,5})[ \t]* (?: (?: ,[ \t]* (?: (?<d2>[-+]?\#?\d+) | (?<h2>[-+]?[0oO]?[xX][a-fA-F0-9]{1,8}) | (?<o2>[-+]?[0oO][0-7]+) | (?<b2>[-+]?[0oO]?[bB][01]{1,32}) | (?<l2>[a-zA-Z0-9_]+) ) [ \t]* (?:\((?<r2b>\$[a-zA-Z0-9_]{2,5})\))?[ \t]* ) | ,[ \t]*(?<r2>\$[a-zA-Z0-9_]{2,5})[ \t]* )? )? )? )? )? (?<pseudo_op> \. (?<name>[a-zA-Z]+) [ \t]* (?<arg> (?<hp0>[-+]?[0oO]?[xX][a-fA-F0-9]{1,8}) | (?<bp0>[-+]?[0oO]?[bB][01]{1,32}) | (?<op0>[-+]?[0oO][0-7]+) | (?<dp0>[-+]?\#?\d+) | (?<lp0>[a-zA-Z0-9_]+) ) [ \t]* )? (?:[ \t]*(?<comment>[!;].*)?) $
/
gxm

Description

Loading markdown...
Submitted by Chris Ottersen - 7 years ago