Regular Expressions 101

Library entries

2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 5 months ago
1
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 3 months ago
1
golang

Home

Dj dus er geen je een je aan je enige eerst een he we er
Submitted by Webmaster - a month 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