fork(1) download
  1. <?php
  2.  
  3. $search_field_pattern = "/\bdata\[SearchForm]\[(\w+)]/i";
  4. if(preg_match($search_field_pattern, "data[SearchForm][somestringhere]", $m)) {
  5. echo $m[1];
  6. }
Success #stdin #stdout 0.03s 23852KB
stdin
Standard input is empty
stdout
somestringhere