Category "findall"

Match string from beginning to end of string

import re text = "A random\string here" test = re.findall('(?<=A ).+\s', text) I want to print out everything from the end of "A" (excluding the space) to

how to extract string inside single quotes using python script

Have a set of string as follows text:u'MUC-EC-099_SC-Memory-01_TC-25' text:u'MUC-EC-099_SC-Memory-01_TC-26' text:u'MUC-EC-099_SC-Memory-01_TC-27' These data