For raw addresses, something like this should work^(0|-1):([a-f0-9]{64}|[A-F0-9]{64})$
Answered
What is a regular expression to check TON addresses?
Probably the TON community has already crafted the best regular expression for validating TON addresses. In fact, there could be two expressions: for the raw (hex) and user-friendly representations. What are they?
This question was imported from Telegram Chat: https://t.me/tondev/52663
20K Views
2
Answers
one year ago
one year ago
Tags