Im trying to extract text that lies between user and in the below text line: The following gives me a User ID which in want to extract
“added to user XXXXX in the”
Im using regex pattern, “(?<=” + labelbefore + “)(.*?)(?=” +labelafter + “)”
But it is not able to extract, match found is displayed as False. Can anyone help?