How can i search a String to know if it contains a date? and How can i extract it? : I have a code which reads messages and if the message has a date in it then It should specifically be shown in display.I got stuck at the part where I have to search the entire String for date and to extract it?