i have this string
SMPN 2 Aesesa Selatan<br />SMPN 2 Aesesa Selatan<br />Desa/Kel. Lange Dhawe<br />Kec. Aesesa Selatan<br />Kab. Nagekeo<br />Nusa Tenggara Timur<br />Type : USB<br />Progress : COMPLETED
with regex (PHP) how do i take the second apearance of this substring "SMPN 2 Aesesa Selatan" i tried
/<br\s+>(SMPN2)(.*)<\/br\s+>/
it takes the second starting from <br /> until the last <br /> after substring "USB"
also the first and second of "SMPN 2 Aesesa Selatan" could be different at all.