Regular Expressions 101

Sponsors

Library entries

1
python

link findall

Submitted by Kerem Göksu - a year ago
1
python

Don't match numbers longer than 5 length

using ^ and $
Submitted by anonymous - a year ago
1
python

ss001

Rep
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - a year ago
1
python

Remove HTML tags and comments

Remove HTML tags and comments
Submitted by Smit Patel - a year ago
1
pcre

Screencast.com video url regex

Screencast.com video url regex
Submitted by anonymous - 10 months ago
1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 8 months ago

Почти идеальный фильтр матов

Vote

2

Regular Expression
pcre

/
\b(?!п?ос[л|к][а|о]р?бляе?т?ь?л?)\w*бля\w*|(\w*бляд\w*)|(\w*ху[й|и|е|ё|я|]\w*)|\b(хули)\b|([е|ё]{1,}пт[а|и|е|о]?\b)|([до]\w*[ё|е]б)|(пизд\w*)|(пид[а|о|е]р\w*)|(пид[е|а|о]р)|(пидр?[\w]{1,}\b)|(гандон\w*)|\b(?!нё)(\w*[е|ё]б[а|о|и|н]\w*)|(еб[е|ё|а|у|н]\w*)|(\w*еб[а]\w*)|(\w*[у|е|за]{1,2}[е|ё]б)|\b(?!\w)\s(ёб)\s
/
gsimu

Description

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