Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Richard Trussler
Added: Mar 17, 2018 12:29 PM
Modified: Mar 17, 2018 12:36 PM
Views: 8
Tags: no tags
  1. public function extractLocationId($input){
  2.             preg_match('#\((.*?)\)#', $input, $output);
  3.             return $output[1];
  4.         }