can we use regular expression in split or strip function??
i have a file as below
abc started on port 3458
status abc 255.255.255.345 :5679 closed
i need to strip or split the above file wherever there are numericals in it ,as the port number keeps changing on running the scripts and it has to be compared with a sample file each time
is there any better way to achieve the same ??
i have a file as below
abc started on port 3458
status abc 255.255.255.345 :5679 closed
i need to strip or split the above file wherever there are numericals in it ,as the port number keeps changing on running the scripts and it has to be compared with a sample file each time
is there any better way to achieve the same ??
Comment