
1 answer
Hi You may use below code snippet to find things like :Pattern datePatt = Pattern.compile("(Date Ordered:)(.*)(http:)"); ... Matcher m = datePatt.matcher(dateStr); if (m.matches()) { String date = (m.group(2) };and so on, but you email needs to be exactly in this same format, so that you may find the starting and ending strings.