Regular Expressions 101

Sponsors

Library entries

2
python

.*(\d+).* Selects last number

no description available
Submitted by anonymous - 6 years ago
2
javascript

Palindrome

Captures a palindrome of 9 digits or less
Submitted by anonymous - 6 years ago
2
javascript

foder add prefix

auto prefix ("/") to folder
Submitted by anonymous - 6 years ago

Matches percentage with any number of digits

Vote

-4

Regular Expression
python

"
([0-9]*\.?[0-9]*)\s*%
"
gmi

Description

Loading markdown...
Submitted by sharkey - 7 years ago