<?php $test = preg_split("\[(.*?)\]", "['hotels'][3]"); echo $test;
You have javascript disabled. You will not be able to edit any code.