I'm trying to parse messages I receive using AT+CMGL command.
My main interest is to get the 15 digit number from the message and store it in a table.
Here's an example of the data the I receive :
+CMGL: 0,"REC READ","+212664090320",,"22/09/14,10:58:33+04"
876011033120958
+CMGL: 0,"REC READ","+212664486654",,"22/09/14,11:47:33+04"
Ver:03.27.07_00 GPS:AXN_5.1.9 Hw:FMB920 Mod:13 IMEI:350444465129844 Init:2022-9-6 12:0 Uptime:1193 MAC:380A2986D9CB SPC:1(0) AXL:0 OBD:0 BL:1.10 BT:4
fyi, i get 8 different message format, I've just listed two here.
BigInteger(if that's what you meant with your title).([0-9]{15})along with classesPatternandMatcher.myIMEI + 10for example?). So leave it as a string and use it as a string only.