I am new to python and I am trying to determine how regular expressions work. I would like to capture everything after GT in this line:
string = re.search(r"(GT\s*)(.)\n", notes)
thanks for the help!
Edit: I would like the result to look like this:
\s*)(.)\n", notes)
source
share