I have a year listed in my string
$s = "Acquired by the University in 1988";
In practice, that could be anywhere in this single line string. How do I extract it using regex? I tried \d and that didn’t work, it just came up with an error.
I’m using preg_match in LAMP 5.2
Matches
Ignores