Author

Topic: RegEx to match transaction id? (Read 1450 times)

newbie
Activity: 30
Merit: 0
April 08, 2014, 08:47:06 AM
#2
Hello all

Please help me make a regular expression for PHP

[a-zA-Z0-9] and 65 characters?

'/^[a-zA-Z0-9]{65}$/' - true ?)))

Should be a-f and only 64 chars (32bytes):

Code:
[a-fA-F0-9]{64}
newbie
Activity: 26
Merit: 0
April 08, 2014, 01:10:50 AM
#1
Hello all

Please help me make a regular expression for PHP

[a-zA-Z0-9] and 65 characters?

'/^[a-zA-Z0-9]{65}$/' - true ?)))
Jump to: