I need to split a string base on two delimiters: one or more space and quote
public static void main( String[] args )
{
    String[] aStr = {"Header  \"2018-02-23 picture test\"", "Average Value \"A B \"  3.14"};
    for(String str: aStr) {
        for(String str1: str.split("\"|\\s"))
            System.out.println(str1);
    }
}
My desired output:
Header
2018-02-18 picture test
Average
Value
A B
3.14
 
    