Regular Expressions 101

Sponsors

Library entries

0
javascript

UA phone number

check ua phone number
Submitted by anonymous - 14 hours ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 18 hours ago
0
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 20 hours ago
0
javascript

replace text in tag

find and replace text in tag
Submitted by anonymous - 3 days ago
0
javascript

only .ts .tsx .js .jsx

get files extension
Submitted by HZ - 3 days ago
0
javascript

Get YouTube ID in link

regex for get video id in link
Submitted by anonymous - 3 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 8 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 8 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 8 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 8 days ago

month with year extraction

Vote

0

Regular Expression
python

"
((jan|feb|mar|apr|may|jun|july|aug|sep|sept|oct|nov|dec|January|february|march|april|may|june|august|september|october|november|december|\d{1,2})[ -\/',]\d{2,4})\s+([-]|till|to)\s+(?:((jan|feb|mar|apr|may|jun|july|aug|sep|sept|oct|nov|dec|January|february|march|april|may|june|august|september|october|november|december|\d{1,2})[ -\/',]\d{2,4})|present|date|now)
"
gmi

Description

Loading markdown...
Submitted by anonymous - 4 months ago