Regular Expressions 101

Sponsors

Library entries

1
javascript

File extention

Extract file extention from URL
Submitted by anonymous - 7 years ago
1
javascript

Strip Commet

Strip comments with /* ... */ or // ...
Submitted by Willy - 7 years ago
1
python

test

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

แปลง pdf

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

PersianDate

no description available
Submitted by Nasehi - 7 years ago
1
python

logical operators

no description available
Submitted by Nicolas - 7 years ago
1
javascript

Property Search

no description available
Submitted by Churanos - 7 years ago
1
python

ddd

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

Button Online State Regex

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

Units RegExp

no description available
Submitted by Javier Matusevich - 7 years ago
1
python

username validation

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