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 - a year ago (Last modified a year ago)