I have the contents of a text file in a php string. Now I want to store the two characters which occur before the following strings - "(A)","(B)","(C)","(B+)"
For example if the php variable contains something like -
33(F) 15352(1) 24 31 55(B+) 15360(1) 6 32 38 70(A) 2 3 4 5 6 7 8 9 10
10
*Passed with Grace Marks
*SID:  Student  ID;                          SchemeID:  The  scheme  
applicable  to  the  student.
Date on which pdf made: 09/10/2018
RTSID: 2018100901520151640002
Then I want to store 33,70 in an array. Note that I want to create a numeric array.
 
    