|
|
|
|
|
|
|
|
if (preg_match('/=D\s(([^\s]*)\s([^\s]*)\s([^\s]*))/', $input, $doc_ref)){ |
|
|
if (preg_match('/=D\s(([^\s]*)\s([^\s]*)\s([^\s]*))/', $input, $doc_ref)){ |
|
|
$output['doc_ref'] = str_replace(' ','',$doc_ref[1]); |
|
|
$output['doc_ref'] = str_replace(' ','',$doc_ref[1]); |
|
|
} |
|
|
} |
|
|
|
|
|
elseif (preg_match('/=D&locale=en_EP\s(([^\s]*)\s([^\s]*)\s([^\s]*))/', $input, $doc_ref)){ |
|
|
|
|
|
$output['doc_ref'] = str_replace(' ','',$doc_ref[1]); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Search for the application ID in the content element and display it |
|
|
// Search for the application ID in the content element and display it |
|
|
preg_match('/Application.*\n(.*)\n/', $input, $application_id); |
|
|
preg_match('/Application.*\n(.*)\n/', $input, $application_id); |