How to split a screen into different parts in PHP? : I have 3 strings in PHP which contains a list of test input for a function with two parameters. 

I want to parse the strings and get the individual parameter values.

example:

    "a,b" => "a", "b"
    
    "/"string_param1/", /"string_param2/""  => "string_param1", "string_param2"
    
    "[list,1], [list,2]"   => "[list,1]", "[list,2]"