search for regex pattern 'test(.*)print' in string `teststr` including new line character '\n',"re.search('Test(.*)print', testStr, re.DOTALL)"