Regular Expressions 101

Sponsors

Library entries

0
javascript

javascript regex question

问题
Submitted by anonymous - 8 months ago
0
golang

use in query db( in () )

int&space to 'int',
Submitted by anonymous - 8 months ago
0
javascript

Hex Checker

Checks if a string contains a hex code
Submitted by anonymous - 8 months ago
0
pcre2

Get first value in xml tag

/^(label=\")(.+)(" length.*)(\/>)/gm
Submitted by Stephen - 8 months ago
0
pcre2

get .tbpa coins

hmm
Submitted by SrB - 8 months ago
0
pcre2

Tên Tiếng Việt

Tên Tiếng Việt
Submitted by anonymous - 8 months ago
0
javascript

Iran Mobile Regex

09...
Submitted by anonymous - 8 months ago
0
pcre2

Extract Span Tag Content

Extract Content in SPAN tag
Submitted by Byron Lai - 8 months ago
0
pcre2

aaa

aaa
Submitted by anonymous - 8 months ago
0
pcre2

email

validate email
Submitted by anonymous - 8 months ago

Add padding to non-empty HTML table cells that don't already have padding.

Vote

0

Regular Expression
pcre2

/
<(?'Tag'td|th)(?'NonStyleAttributes1'(?>\s+(?!style)\w*(?>="[^"<>]*")*)*)(?>(?'SpaceBeforeStyle'\s*)\sstyle="(?!padding|[^"<>]*\spadding)(?'OtherStyling'[^"<>]*)"(?'NonStyleAttributes2'(?>\s+(?!style)\w*(?>="[^"<>]*")*)*))?(?'TagEnd'\s*>)(?!\s*(?><br(?>\s[^<>])*\/?>\s*)?<\/\k'Tag'\s*>)
/
gmi

Description

Loading markdown...
Submitted by jsmart523 - 7 months ago