-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwo-testtriplematch.php
9 lines (8 loc) · 1.44 KB
/
two-testtriplematch.php
1
2
3
4
5
6
7
8
9
<?php
$string = "\"Citations:Rojdev, Christina, and Mary Jane O'Rourke, et al., "In-situ strain analysis of potential habitat composites exposed to a simulated long-term lunar radiation exposure," Radiation Physics and Chemistry 84 (2013): 235–241. PDFDenisov, A. N., and N. V. Kuznetsov, et al., "On the problem of lunar radiation environment," Cosmic Research, 2010, 48.6 (2010): 509 - 516. PDFBenaroya., H., Bernold, L., "Engineering of lunar bases," Acta Astronautica, 62 (2008) 277 – 299Benaroya - 2008 - Engineering of lunar bases.pdfRojdev, Christina, and Mary Jane O'Rourke, et al., "In-situ strain analysis of potential habitat composites exposed to a simulated long-term lunar radiation exposure,"\u00A0Radiation Physics and Chemistry 84 (2013): 235\u2013241. PDF\u00A0\u00A0Denisov, A. N., and N. V. Kuznetsov, et al., "On the problem of lunar radiation environment," Cosmic Research, 2010, 48.6 (2010): 509 - 516. PDF\"\n\n \n \n \n ";
//$string = "Citations:Rojdev, Christina, and Mary Jane O'Rourke, et al., "In-situ strain analysis of potential habitat composites exposed to a simulated long-term lunar radiation exposure," Radiation Physics and";
//$string = "Citations: Ri.ojdevi, Christina&two-three; \hello (2013)";
$regex = '/[0-9a-zA-Z:\'"\\\.;&, \(\)-]*/';
$firstmatch = preg_match($regex,$string,$matches);
print_r($matches);
?>