in reply to GREP value not initialized

Dont just post fragments, post runnable code How do I post a question effectively?