<?php
$json = '{"regex":["Hello\\\s+World"]}';

$obj1 = json_decode($json); 
echo $obj1->regex[0]."<br>";

$obj2 = json_decode($json, true); //When assoc == TRUE, returned objects will be converted into associative arrays.
echo $obj2["regex"][0];
?>