I want a regular expression which converts this:
91009-01-28-00 Maximum (c/s)................  1543.5
to this:
91009-01-28-00    1543.5
So basically, a regular expression that escapes alphabets, spaces, forward slashes and brackets.
I have written the following python code so far:
with open('lcstats.txt', 'r') as lcstats_file:
        with open (lcstats_full_path + '_lcstats_full.txt', "a+") as lcstats_full_file:
            lcstats_full_file.write(obsid )
            for line in lcstats_file.readlines():
                if not re.search(r'Maximum [(c/s)]', line):
                    continue
                line = (re.sub(**REGEX**,'',line))  
                lcstats_full_file.write(line)
 
     
     
     
    