Regular Expressions 101

Sponsors

Library entries

0
pcre2

get txt html

asad
Submitted by anonymous - a year ago
0
pcre2

Find text between two words

Find text between two words
Submitted by suha a - a year ago
0
pcre2

IBAN Ukraine

Checcking IBAN number for Ukraine
Submitted by anonymous - a year ago
0
pcre2

Mammars tumour dx

identifying mammary tumour diagnosis
Submitted by Georgia Salmon - a year ago
0
pcre2

Вся строка начиная со слова

а
Submitted by anonymous - a year ago
0
golang

Changelog commit template

Changelog commit template
Submitted by anonymous - a year ago
0
pcre2

hexadecimal

Hexadecimal regex
Submitted by anonymous - a year ago
0
pcre2

Octal regex

Octal regex
Submitted by anonymous - a year ago
0
pcre2

thx hjpotter

Thanks
Submitted by hjpotter92 - a year ago
0
pcre2

Coordinates Validation

This is for validating coordinates
Submitted by anonymous - a year 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 - a year ago