Python Strip Txt

>>> text
'132abcd13232111'

>>> text.strip('123')
'abcd'
Odd Osprey