I've create a Telegram bot to easily fetch law on the land by typing law number or keyword. But, since OCS decide to revamp the site, I've to update the code to catch with new method of display.
Normally, whenever Thai number contains in the text (๐๑๒๓๔๕๖๗๘๙
), I'll manually replace one by one like this one shown by Mr.Kobkrit.
And then, I've read this StackOverflow answer on how to replace "Arabic" number by manipulating character's Unicode number, like Mr. CLarkson would said, I've a brainwave.