Regular Expressions 101

Sponsors

Library entries

1
javascript

Basic URL

Matches basic URLs and fails on things that aren't
Submitted by anonymous - 7 years ago
1
pcre

gets youtube link in plaintext

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

__('

get all messages which start with __('
Submitted by RO - 7 years ago
1
javascript

meraki device name

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

LiteralMatch int/float

For matching numeric literals in equations
Submitted by Anttij - 7 years ago
1
pcre

Resolve-LowVoltage

LowVoltage regex
Submitted by anonymous - 7 years ago
1
javascript

moj test regex

regex sa vezbi
Submitted by Mladen - 7 years ago
1
javascript

dni con letra

dni con letra
Submitted by cda - 7 years ago
1
pcre

demo

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

Commify

Add commas to numbers
Submitted by Allen Ng - 7 years ago
1
javascript

UK Postal Code

Match UK Postal Code
Submitted by Michael R - 7 years ago
1
pcre

Regex mail

Validatore php mail
Submitted by anonymous - 7 years ago
1
pcre

ABAP email checker

ABAP tested email regex checker
Submitted by lol - 7 years ago
1
pcre

test

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

asd

asd
Submitted by as - 7 years ago

Factorisation.

Vote

1

Regular Expression
javascript

/
([a-z]+|\d+[a-z]*|\([a-z0-9\s()+/*-]+?\))\s*(?:\*?\s*([a-z]+)|\*\s*(\d+[a-z]*)|\*?\s*(\([a-z0-9\s()+/*-]+?\)))\s*(\+|-)\s*(?:\1\s*(?:\*?\s*([a-z]+)|\*\s*(\d+[a-z]*)|\*?\s*(\([a-z0-9\s()+/*-]+?\)))|(?:([a-z]+)|(\d+[a-z]*)|(\([a-z0-9\s()+/*-]+?\)))\s*\*\s*\1)|(?:([a-z]+)|\*\s*(\d+[a-z]*)|\*?\s*(\([a-z0-9\s()+/*-]+?\)))\s*\*\s*([a-z]+|\d+[a-z]*|\([a-z0-9\s()+/*-]+?\))\s*(\+|-)\s*(?:\15\s*(?:\*?\s*([a-z]+)|\*\s*(\d+[a-z]*)|\*?\s*(\([a-z0-9\s()+/*-]+?\)))|(?:([a-z]+)|(\d+[a-z]*)|(\([a-z0-9\s()+/*-]+?\)))\s*\*\s*\15)
/
gi

Description

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