So I have a string RAM 1000/2000/3000/4000
and I want to extract RAM 1000
, 2000
, 3000
and 4000
from it using regular expressions.
So far I've (RAM 1000)(?:(?:\/)(\w+)){1,}
, but it returns only RAM 1000
and 4000
. How do I get it to return all the desired matches in Python?