fork(1) download
import java.util.regex.*;

class UnihedronClass {
	public static void main (String[] args) {
    String input = "a =\"First Field\" b=SecondField c3= \"Third field value\" delta = \"\" e_value  = five!";
    String regex = "\\b(\\w+)\\s*=\\s*(?:\"([^\"]*)\"|([^ ]*)\\b)";
    Matcher matcher = Pattern.compile(regex).matcher(input);
    while (matcher.find())
        System.out.println(matcher.group(1) + " = " +
        (matcher.group(2) == null ? matcher.group(3) : matcher.group(2)));
    }
}
Success #stdin #stdout 0.08s 380160KB
stdin
Standard input is empty
stdout
a = First Field
b = SecondField
c3 = Third field value
delta = 
e_value = five