Considering the following sample data
[2022-09-14 14:52:34] some content
[2022-09-14 15:24:08] some other content
I'm looking to find a regexp allowing me to get each content line (date + content) as one distinct element.
I'm aiming at retrieving the last XXX occurencces from a string to print them.
Thanks for assist
EDIT : Here is the answer or closed one, probably some string will still make issues
'/\[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}][[:print:]]{1,}/'