// URL that generated this code:
// http://txt2re.com/index-java.php3?s=11:Feb:2019%20%22This%20is%20an%20Example!%22&-1
import java.util.regex.*;
class Main
{
public static void main(String[] args)
{
String txt="11:Feb:2019 \"This is an Example!\"";
String re1=".*?"; // Non-greedy match on filler
String re2="(\"This is an Example!\")"; // Double Quote String 1
Pattern p = Pattern.compile(re1+re2,Pattern.CASE_INSENSITIVE | Pattern.DOTALL);
Matcher m = p.matcher(txt);
if (m.find())
{
String string1=m.group(1);
System.out.print("("+string1.toString()+")"+"\n");
}
}
}
//-----
// This code is for use with Sun's Java VM - see http://java.sun.com/ for downloads.
//
// Paste the code into a new java application or a file called 'Main.java'
//
// Compile and run in Unix using:
// # javac Main.java
// # java Main
//