↻
⏵︎ Run
import re str = '52_841__63____24_76______49' #split string by _ items = re.split('_+', str) print(items)
Output