Develop a regular expression for
(i) Integer
(ii) Real number
(i) A regular expression for integer is [+ | -] (d)+
(ii) A regular expression for real number is [+ | -] (d)+. (d)+