How to match the ID card in the text

how to match the ID card in the text.
for example, there is such a text: Satan law 362528199307213023 judicial office express fee for a good sofa in degrees Celsius
then how can I know that there is an ID card number in this text?
ask for help, or give me some ideas. I tried match and didn"t get the results I wanted

Jun.02,2021

text ID card number bank card number quick identification


'< Satan law 362528199307213023 express fee '.match (/ (\ d {18} |\ d {15}) / g)

the Satan law sent by sand 123456789012345678 at 123456789012345678.

clipboard.png

distinguish between rougher digits

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e53080-5a249.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e53080-5a249.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?