as you can see the first write line function can run properly with almost the same regex expression code (?<=G-IDSS Serial Number )(.|\s)*?(?=\nAcknowledgement)
Could you please help me, I cannot find the same topic as I met the issue on the internet, many thanks
Oh It works well, I can print out the Dealer name, but I found another issue again as below
In upper picture, it’s showing the same error, how I can fix this one of the line brake matters, could you please roughtly explain about the rule of the line brake please.
There are some types of linebreak in each environment.
Unix style : \n (text in regex101)
Windows style : \r\n
So if we need to handle both type of linebreak, I recommend to use \r?\n instead of \n. ( or (\r?\n) if quantifier exists after it) as linebreak.
The above expression might be better like
(?<=modification \.\r?\n)(.|\s)*?(?=\*If you do not know)
Thank you for your example files, In this case, I still struggle in my head with why I use your expression in the matches function, the UI path cannot run properly, but using the Assign function It can work well.
Anyway, I would like to say thank you again for your advice