Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Golang

`
(GET|POST)\s(http|https)://(www.)?(\w+(\.|-)?)+/(\w+(\.)?)+/((\w|-)+(\.)?)+/(\w+(/)?){4}
`
gm

Description

parse dpserver url

Submitted by qianshen - 3 years ago