Regular Expressions 101

Sponsors

Library entries

0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 6 days ago
0
pcre

find between

find between
Submitted by anonymous - 9 days ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 9 days ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 13 days ago
0
python

Postcode (UK)

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

PO Number

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

Credit Note

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

dice thing

Stuff for a dnd thing
Submitted by Cata - 20 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 22 days ago
0
python

恩更

非法发
Submitted by anonymous - 22 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 23 days ago

Replace <b> HTML tag with <strong> tag

Vote

0

Regular Expression
pcre

/
<(\/?)b\b((?:[^>"']|"[^"]*"|'[^']*')*)>
/
gm

Description

Loading markdown...
Submitted by O’Reilly Regular Expressions Cookbook - 5 months ago