Regex for multiple crypto addresses
Novo TópicoResponder a Mensagem Electrify - Índice do Fórum > Coding
Ver mensagem anterior - Ver próxima mensagem  
Autor Mensagem
hacxx






Mensagens: 1413


MensagemEnviada: 25 Abr 2024 00:49    Pergunta inicial
25 Abr 2024 00:49 de hacxx

Código:

  // BITCOIN
  if (guid.match(/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/)) {
    alert("It's a Bitcoin address");
  }

  // LITECOIN
  if (guid.match(/^(L|M)[a-km-zA-HJ-NP-Z1-9]{26,33}$/)) {
    alert("It's a Litecoin address");
  }

  // DOGECOIN
  if (guid.match(/^(D|9)[a-km-zA-HJ-NP-Z1-9]{26,33}$/)) {
    alert("It's a Dogecoin address");
  }

  // ERC-20 (Ethereum, Tether, Ripple, BUSD, BNB, MATIC, ANKR, BAL, RLY, UMA, FaucetPay)
  if (guid.match(/^(0x)?[0-9a-fA-F]{40}$/)) {
    alert("It's an ERC-20 (Ethereum, Tether, Ripple, BUSD, BNB, MATIC, ANKR, BAL, RLY, UMA, FaucetPay)");
  }

  // TRON (TRC-20)
  if (guid.match(/^T[A-Za-z0-9]{33}$/)) {
    alert("It's a TRC-20 token (TRON)");
  }

  // MONERO
  if (guid.match(/^4[0-9AB][1-9A-HJ-NP-Za-km-z]{93}$/)) {
    alert("It's a Monero address");
  }

  // TRX (Tron)
  if (guid.match(/^T[1-9a-km-zA-HJ-NP-Z]{33}$/)) {
    alert("It's a TRX (Tron) address");
  }

  // DASH
  if (guid.match(/^X[1-9A-HJ-NP-Za-km-z]{33}$/)) {
    alert("It's a DASH address");
  }

  // TON (Free TON)
  if (guid.match(/^0:[0-9a-fA-F]{64}$/)) {
    alert("It's a TON (Free TON) address");
  }

  // BAND
  if (guid.match(/^band[0-9a-zA-Z]{39}$/)) {
    alert('It\'s BAND address');
}

// BOND

// AUCTION / FORTH / SKL / GAL / - ERC-20 TOKEN
// if (guid.match(/^0x[a-fA-F0-9]{40}$/i)) {
//   alert("It's AUCTION address");
// }

// IOTX
if (guid.match(/^(io|it)[0-9a-zA-Z]{38}$/)) {
  alert("It's IOTX address");
}

// CLV
if (guid.match(/^cl[0-9a-zA-Z]{38}$/)) {
  alert("It's CLV address");
}

// AMP
if (guid.match(/^A[0-9a-zA-Z]{42,43}$/)) {
  alert("It's AMP address");
}

// 00 - Address

// XCN
if (guid.match(/^[Cc][0-9a-zA-Z]{32,33}$/)) {
  alert("It's XCN address");
}

// XRP
if (guid.match(/^r[0-9a-zA-Z]{24,34}$/)) {
  alert("It's XRP address");
}

// BEP-20
if (guid.match(/^0x([A-Fa-f0-9]{40})$/)) {
  alert("It's BEP-20 address");
}

// ByteCoin (BCN)
if (guid.match(/\bBCN[0-9a-zA-Z]{94}\b/)) {
  alert("It's ByteCoin (BCN) address");
}

_________________
OG Marketplace - https://files.offshore.cat/XNObT0Tz.html
Voltar ao Topo
desligada Ver o perfil de Utilizadores Enviar Mensagem Privada
Mostrar os tópicos anteriores:   
Novo TópicoResponder a MensagemVista para impressão Electrify - Índice do Fórum > Coding
Página 1 de 1

Tópicos similares em Webboard.org Tópicos similares em Webboard.org
Tópico conta Respostas Tópico iniciado
Não há mensagens novas Regex for multiple crypto addresses cyberdivision 0 25 Abr 2024 00:49 Exibir a última mensagem
Não há mensagens novas Regex for multiple payment processors addresses cyberdivision 0 25 Abr 2024 07:56 Exibir a última mensagem
Não há mensagens novas Regular Expressions Regex Tutorial ELEARNING 0 13 Nov 2023 08:47 Exibir a última mensagem
Não há mensagens novas checklista för mat theglobalnetwork 0 25 Mar 2022 13:09 Exibir a última mensagem
Não há mensagens novas Fixo: Viktigt för att din registrering ska gå igenom turkiskungdom 0 14 Set 2020 16:43 Exibir a última mensagem
Não há mensagens novas Vad i alla sina dagar är det för kunskapsnivå på skribenterna i... A1B2Flashback 0 16 Nov 2023 12:37 Exibir a última mensagem
Não há mensagens novas Tor Link list Vault 2021 The biggest onion list of addresses electrify 4 15 Dez 2021 21:14 Exibir a última mensagem
Não há mensagens novas Checklista för forskare theglobalnetwork 0 08 Mai 2022 00:12 Exibir a última mensagem
Não há mensagens novas Multiple Payments Crypto USDT SOL USDT on Solana electrify 0 13 Abr 2024 02:31 Exibir a última mensagem
Não há mensagens novas Multiple Payments Crypto Token NOW ERC20 Card electrify 0 04 Jul 2024 10:57 Exibir a última mensagem
Não há mensagens novas Multiple Payments crypto and other etc hacxxevolution 0 04 Jun 2024 05:38 Exibir a última mensagem
Não há mensagens novas BTC USDT Crypto Exchange BingX Spot Adds Multiple USDC Trading Pairs Crypto1earn 0 15 Dez 2022 12:33 Exibir a última mensagem
Não há mensagens novas Multiple Payments crypto and other etc electrify 0 04 Jun 2024 05:37 Exibir a última mensagem
Não há mensagens novas Multiple Payments Crypto USDT SOL USDT on Solana hacxxevolution 0 13 Abr 2024 02:37 Exibir a última mensagem
Não há mensagens novas Multiple Payments Crypto Token NOW ERC20 Card hacxxevolution 0 04 Jul 2024 10:58 Exibir a última mensagem
Não há mensagens novas Mazars Group cut ties with Larger Crypto exchanges after releasing ... Apollyon814 0 22 Dez 2022 13:20 Exibir a última mensagem
Não há mensagens novas Is BingX the Best Crypto Exchange To Buy Crypto like Bitcoin Crypto1earn 0 13 Dez 2022 13:12 Exibir a última mensagem
Não há mensagens novas Mazars Group cut ties with Larger Crypto exchanges after releasing ... Crypto1earn 0 22 Dez 2022 14:00 Exibir a última mensagem
Não há mensagens novas Mazars Group cut ties with Larger Crypto exchanges after releasing ... CryptoCVX 0 22 Dez 2022 16:50 Exibir a última mensagem
Não há mensagens novas BITCOIN HITS 100 000 plus NOW IS THE TIME TO COLLECT FREE CRYPTO CO... jobcreationtrainingcentre 0 18 Dez 2020 18:49 Exibir a última mensagem
Não há mensagens novas BTC USDT Crypto Exchange BingX Starts World Tour for Football and C... Crypto1earn 0 12 Dez 2022 13:28 Exibir a última mensagem
Não há mensagens novas Mazars Group cut ties with Larger Crypto exchanges after releasing ... Crypto1earn 0 22 Dez 2022 13:51 Exibir a última mensagem
Não há mensagens novas Mazars Group cut ties with Larger Crypto exchanges after releasing ... Crypto1earn 0 26 Dez 2022 17:57 Exibir a última mensagem
Não há mensagens novas HTTPSVAILDWORKCLONED CARDS 2025 SELL PAYPAL CRYPTO DUMPS TRACK DUMP... electrify 0 27 Fev 2025 05:12 Exibir a última mensagem
Não há mensagens novas NEW MoneyPlatformbiz Multiple Payments Minimum 1 Reserve 1048 hacxxevolution 0 25 Nov 2023 19:25 Exibir a última mensagem
Definir favoritos para este tópico



Enviar Mensagens Novas: Não permitido.
Responder a Tópicos: Não permitido.
Editar Mensagens: Não permitido.
Excluir Mensagens: Não permitido.
Votar: Não permitido.
Webboard.org seleciona a conexão mais rápida para você.


Following this hyperlink will lead to a permanent autoban.