Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
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

Votes Newest

Answers 2

For raw addresses, something like this should work

Posted one year ago

а для dns?)

Posted one year ago