↻
⏵︎ Run
import re pattern = '[a-z]+' string = '-----2344-HELLO--WORLD!' result = re.search(pattern, string) print(result)
Output