Here is the content of the xmlhttp.responseText:
var Text = "FS2Crew A320 Checklist_1""FS2Crew Flight Crew A320 Main Ops Manual_1""FS2Crew Flight Crew A320 Main Ops Manual_10""FS2Crew Flight Crew A320 Main Ops Manual_11""FS2Crew Flight Crew A320 Main Ops Manual_12""FS2Crew Flight Crew A320 Main Ops Manual_13""FS2Crew Flight Crew A320 Main Ops Manual_14""FS2Crew Flight Crew A320 Main Ops Manual_2""FS2Crew Flight Crew A320 Main Ops Manual_3""FS2Crew Flight Crew A320 Main Ops Manual_4""FS2Crew Flight Crew A320 Main Ops Manual_5""FS2Crew Flight Crew A320 Main Ops Manual_6""FS2Crew Flight Crew A320 Main Ops Manual_7""FS2Crew Flight Crew A320 Main Ops Manual_8""FS2Crew Flight Crew A320 Main Ops Manual_9""FS2Crew Pushback Express Main Ops Manual_1""FS2Crew Pushback Express Main Ops Manual_2""FS2Crew Pushback Express Main Ops Manual_3""FS2Crew Pushback Express Main Ops Manual_4""FS2Crew Pushback Express Main Ops Manual_5""FS2Crew Pushback Express Main Ops Manual_6""FS2Crew Pushback Express Main Ops Manual_7""FS2Crew Pushback Express Main Ops Manual_8""VFR-Ffdfdfdlight-Planner-Dax_1""VFR-Ffdfdfdlight-Planner-Dax_2"
To achieve this, I want to extract specific strings from the content and form an array as follows:
result = [FS2Crew A320 Checklist~1, FS2Crew Flight Crew A320 Main Ops Manual~14, FS2Crew Flight Crew A320 Main Ops Manual~8, VFR-Ffdfdfdlight-Planner-Dax~2]
The desired format for these strings in the array is to remove the character (") and separate the file name from the occurrence count with (~).
Please overlook any errors in my English.