PHPize Online / SQLize Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy
Copy Format Clear
<?php $s = 'Name: John Doe Age: 23 Primary Language: English Description: This is a multiline description field that I want to capture Fri, 02 Sep 2022 14:46:45 -0500 Country: Canada'; preg_match_all('/(^[a-z ]+): (.*)/im', $s, $output_array); var_dump($output_array);
Show:  
Copy