I have a networking class that allows you to export your activity log. something like this
switch(config)# int f0/1 switch(config-line)# ip address 192.168.. *configured on 12.6.2017*
if the '#' and text before it is removed and the confirmation text lines (or other response text) so it looks like
int f0/1 ip address 192.168..
I can paste it into another (or the same switch) as a configurations file. it will apply all arguments one line at a time and configure accordingly.
I'd like an app or script to search log files against a template/"list of expressions" to delete the hashtags and prior text on all lines, while keeping the text after the hashtag unaltered. it also be useful if it could remove lines that either don't have hashtags on the first pass or contain certain characters like "!"