Post
Topic
Board Project Development
Re: 2^256 Deep Space Vagabond
by
AlmostEpic
on 01/04/2014, 16:06:03 UTC
Well considering all of the letters except npw are capitalized I would say that  the regex is something along the lines of
Code:
^1[A-Z0-9]*[n][p][w][A-Z0-9]*$

EDIT: Forgot the $ at the end lol.

EDIT2: It seems the regex done by vanitygen is actually different than regex done by Ruby or PHP. The above regex or even the below regex both only match patterns like your address when done in Ruby or PHP but VanityGen seems to return strings with lowercase letters other than npw even though its not allowed by the regex.

Code:
^1[A-Z0-9]+npw[A-Z0-9]+$

In ruby/php out of these addresses, address 1 and 3 are found and address 5, 6, and 7 are addresses that were found by vanitygen but are not matched when added to the ruby/php list to check.

Code:
1QC2KE4GZ4SZ8AnpwVT4832E97SLHTGCG
1a209hasdp98h09asd09npw09u1209hasd
109JASD09JH23npw09HG09HJAS908GHH23
1LRbG1xndkUw6YK5mESukd8Y4mFvfRYqFe
154NxoxQxnTSujw6wwRe6h5QVUw1WJnpwN
1L5z3q7S6FHL32WXWMSTqazTcBG1E2npwV