Regular Expressions 101

Library entries

Matches the prefix at the beginning of string or after a slash

Vote

0

Regular Expression
python

"
.*(?:(?<=\/)|^)([a|g|amp|gmp]\d+)[\.]?(?:[\w-]+)?.*
"
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago