How to read this regular.
-
preg_match('/Text: .+, (\d+x\d+)[^\d]/si', $input, $output);
Specifically: I don't understand what's being used.
[^\d]
after(\d+x\d+)
, what gives you this, as I understand, denial?
-
Text: .+, (\d+x\d+)[^\d]/si
Text:
- ordinary text with a lacuna at the end.+
- an inaccurate number of symbols, apart from the rupture symbollines
,
- the usual lacunae comma\d+
- inaccurate number of figuresx
- the usual "x" symbol.\d+
- inaccurate number of figures[^\d]
- any symbol other than numberss
search in one line (without the rupture symbol)i
- not sensitive to the register.
http://regexr.com/3cdji