Regular Expressions 101

Sponsors

Library entries

0
python

Bot-Studio Comments

Regex For Comments In Bot Studio Via YT Docs
Submitted by Codaea - a month ago
0
javascript

Xerox Product Page

regex to match a product page url
Submitted by anonymous - a month ago
0
python

Phone number

Phone number
Submitted by anonymous - a month ago
0
python

分组引用

分组引用
Submitted by anonymous - a month ago
0
python

Remove ANSI escape codes

Remove ANSI escape codes
Submitted by anonymous - 2 months ago

Match HMTL/WXML tag and class

Vote

1

Regular Expression
javascript

/
<([a-z][-a-z]*[a-z]*)\s+[^>]*?(?:class="([^"]*)")[^>]*?\/?>
/
g

Description

Loading markdown...
Submitted by ice breaker - 3 months ago