Problem
Write a TCL program that starts with a list of real numbers, and then calculates and displays the median. Then, the program should generate and display a new list containing only the numbers that contain the digit "9" in it using Regular Expression.