You say comma separated but line 2 in the good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
his would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
d{4}\b/', $content, $matches);
If the comma is required,
[phmma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
rated but line 2 in the good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
o this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\be good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
rated but line 2 in the good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
[/php:1:f3('/\b\d{4},/', $content, $matches);
ood example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
at.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
ould work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
rated but line 2 in the good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},rated but line 2 in the good example has no comma so this would work for that.
Code: Select all
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);
preg_match_all('/\b\d{4}\b/', $content, $matches);
If the comma is required,
Code: Select all
preg_match_all('/\b\d{4},/', $content, $matches);