<?php $pattern = '/^[^\d\r\n]*\b(\d+)([admno]\d+)?/'; $strings = [ "Some string 12345a1% some other string.", "Somet string 23456b2! some other string" ]; foreach ($strings as $s) { preg_match($pattern, $s, $match); var_dump($match); }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`