I\'m currently using a scanning software \"Drivve Image\" to extract certain information from each paper. This software enables certain Regex code to be run if needed. It se
ordernr[\r\n]+([^\r\n]+)

This regular expression will do the following:
ordernr substringordernr capture group 1Live Demo
https://regex101.com/r/dQ0gR6/1
Sample text
1. 21Sid1
2. Ordernr
3. E17222
4. By
5. Seller
Sample Matches
[0][0] = Ordernr
3. E17222
[0][1] = 3. E17222
NODE EXPLANATION
----------------------------------------------------------------------
ordernr 'ordernr'
----------------------------------------------------------------------
[\r\n]+ any character of: '\r' (carriage return),
'\n' (newline) (1 or more times (matching
the most amount possible))
----------------------------------------------------------------------
( group and capture to \1:
----------------------------------------------------------------------
[^\r\n]+ any character except: '\r' (carriage
return), '\n' (newline) (1 or more times
(matching the most amount possible))
----------------------------------------------------------------------
) end of \1
----------------------------------------------------------------------
To just capture the line using a look-around so that ordernr is not included in capture group 0 and to accommodate all the variation of \r and \n
(?<=ordernr\r|ordernr\n|ordernr\r\n)[^\r\n]+

Live Demo
https://regex101.com/r/pA4fD4/2