home/categories/scripting/ecnu-icalk-autoskill-skillbank-convskill-english-gpt3-5-8-extract-positive-numbers-from-strings-using-python-regex-skill-md
scriptingdevelopment

extract-positive-numbers-from-strings-using-python-regex

Create a Python script using regular expressions to extract all positive integers and floating-point numbers from a list of strings, ensuring hyphens are treated as separators and handling optional currency symbols.

ECNU-ICALK
maintainer
ECNU-ICALK
Updated 3/16/2026
Stars
304
Forks
34
quick start

Installation and usage

Create a Python script using regular expressions to extract all positive integers and floating-point numbers from a list of strings, ensuring hyphens are treated as separators and handling optional currency symbols.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use extract-positive-numbers-from-strings-using-python-regex