Regular Expressions 101

Community Patterns

1...34567...16

匹配限定后缀名中的指定关键字,忽略大小写

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)