Regular Expressions 101

Community Patterns

10

UUID

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago
10

entity

Python
no description available
Submitted by anonymous - 8 years ago
5

Form Tag

Python
Form Tag
Submitted by Jay Patel - 8 years ago
5

psswd

Python
no description available
Submitted by anonymous - 7 years ago
5

Match Only Text

Python
no description available
Submitted by anonymous - 7 years ago

find pattern in filename product name, version, build and extension

1

Regular Expression
Python

r"
(?P<product_name>^.*)[-]((?P<ver>\*|\d+(\.\d+){0,2}(\.\*)?))[-](?P<build>.\d*)[.](?P<ext>bin|rpm)$
"
gm

Description

Loading markdown...
Submitted by rsim - 2 years ago