regular exression for concatenating string in 2 different lines into the same line
posted 8 years ago
i have to extract the number present in the second line using regular expression . but am not able to do so tried with all type of regular expression using the search string as the first line since this was requirement given .
currently i am converting pdf to text and from this text i need to extract this number .
could anyone please help me out
the format in text file is like this below
but i am settingsearch string as beleg-nr....and then trying to extract next line which is not happening . Or is there a way out so that i can concatenate both and then extract the number from it