Home > Back-end >  Using regex in python to find matching strings from a multiline variable
Using regex in python to find matching strings from a multiline variable

Time:03-17

I am trying to grab some data from a variable. It is in a multiline. Currently, my output is empty. Thanks in advance.

    test = re.findall("0x\sN/A",newMessage,re.MULTILINE)
    print ("test ", test)

Sample Data:

           
  • Related