Regular Expressions 101

Sponsors

Library entries

0
dotnet

Match using named groups in .NET (C#)

Developed for posh-git
Submitted by marckassay - 8 days ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 2 months ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - 2 months ago
0
dotnet

Script Tag Json

asd
Submitted by anonymous - 3 months ago

VLAN_SUBINTERFACE

Vote

0

Regular Expression
pcre

/
interface\s([\S]+?)\.(\d+)\s+(description\s(?:[^a-zA-Z0-9]?([\S]+)[^a-zA-Z0-9]?))*(?:encapsulation\sdot1q\s(\d+)\s*)*(?:second-dot1q\s(\S+)\s+)*(?:rewrite\singress\stag\s(.+?)\s{2,})*(?:service-policy\sinput\s([\S]+)\s+)*(?:service-policy\soutput\s([\S]+))*.+?(?:\s*!|\s+service\sinstance)
/
g

Description

Loading markdown...
Submitted by anonymous - 5 years ago