I am wondering if there is a specific regular expression I can write to retrieve any information that follows ‘Log1:’ at the beginning of the line. This is what I have tried so far:
^Log1: ([\w|\s]*)$
but this only works if there are words and spaces, I want it to be able to retrieve anything that follows.. except the new line character or characters that are not really used in writing.
Log1: important stuff here
Log1: it can have (), [ ].
Any help appreciated.
The
.matches any character.