We demonstrate an all-optical memory which can discriminate between input data pulses of differing amplitude. Only optical pulses with amplitudes above a predetermined threshold are stored and their amplitudes are equalised. We have demonstrated an all-optical regenerative memory with variable storage threshold and amplitude restoration. This functionality should be scaleable to high data rates approaching 100 Gbits and to low latency memory stores using integrated TOAD/SLALOM nonlinear optical switching devices