Hi, @terry-r and All,
A very simplified version of my regex (?-s)^(.+ by ).+\[only as by (.+)\], could be :
^.+ by .+[only as by .+] ( BEWARE : This syntax is not functional, it’s just for explanations !)
As the syntax .+* stands for the longest range of standard characters which can match the remaining part of the regex :
Then, this regex searches, from beginning of line, for :
Any non-null range of standard characters, followed with the string by surrounded by two space characters
Then, followed with a second non-null range of standard characters, followed with the string [only as by, followed with a space
And, finally, with a third non-null range of standard characters, followed with the ] symbol, ending the line
Don’t be afraid to ask the community if you feel some difficulties, when elaborating some advanced regexes !
On the other hand, you’ll get some regex documentation here