jiraIssuelist - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of jiraIssuelist.php

  1. <?php
  2. $string = "MM-445: Fix 'Active bids' card size for mobile      SergeyKvachenok 02/05/2020 11:51 AM
  3. MM-443: Fix Cars-for-inspection page loading error SergeyKvachenok 02/04/2020 03:24 PM
  4. MM-441: 'Garage' counter is not updated after the user removed the vehicle.  ArtemPoddubitsky        02/04/2020 01:57 PM
  5. ";
  6.  
  7. $regex = "/(MM-\d{1,}): .*/i";
  8.  
  9. preg_match_all($regex, $string, $matches);
  10.  
  11. $matches = array_pop($matches);
  12.  
  13. echo implode(',', $matches);
  14.  
File Description
  • jiraIssuelist
  • PHP Code
  • 05 Feb-2020
  • 442 Bytes
You can Share it: