I have a set of data with strings such as, 1782_eqjobs.hostname, 519_fid_quant.hostname.
I want to be able to keep all of the characters within the first '_' and '.', then remove the rest.
For example;
1782_eqjobs.hostname -> eqjobs
519_fid_quant.hostname -> fid_quant
Is it possible to use a macro to preform this?