Regular Expressions 101

Sponsors

Library entries

1
pcre2

Persian words

Regex for find persian letters in a string
Submitted by Hamed Faryabi - 2 years ago
1
pcre2

Binary code regular expression

Regular expression for binary code.
Submitted by Pythack - 2 years ago
1
pcre2

phonebook

remove all unwanted character from telephone numbers list
Submitted by kp - 2 years ago
1
pcre2

test

test
Submitted by tf - 2 years ago
1
pcre2

Instagram reel Id

get instagram reels id
Submitted by anonymous - 2 years ago

C# Regex Extract/Match Nested HTML Elements/Tags

Vote

3

Regular Expression
dotnet

"
<div id=\"target\"((?'nested'<div)|</div(?'-nested')|[\w\W]*?)*</div>
"
gm

Description

Loading markdown...
Submitted by w4po - a year ago