IPED
IPED copied to clipboard
Regex for TRON addresses
TRON addresses are very common nowadays because of USDT token transactions. A regex for TRON addresses would be very useful.
References: TRON Account, TRON Validator
Thanks for pointing @filipesimoes. Do you have a regex suggestion?
@lfcnassif I think it's simple as T[A-Za-z1-9]{33}
(base58 string with length 34 and starting with a uppercase T). Probably it will result in a lot of false positives. The validation will be required also.
Sorry I was in a hurry and didn't read the reference. Seems a validator would be needed indeed.