Regular Expressions 101

Community Library Entry

0

Regular Expression
Golang

`
^(?i).*(?P<keyword>menu|sp|\.sample).*(?P<fileExt>\.mkv|\.mp4)$
`

Description

匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写

Submitted by anonymous - 2 years ago (Last modified 2 years ago)