Created
January 17, 2019 18:57
-
-
Save Toxiapo/040eef940e2fccfc04efde3a83526fa8 to your computer and use it in GitHub Desktop.
REGEX AND FILTER: validate ardor address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter_var($string,FILTER_VALIDATE_REGEXP, array( "options" => array("regexp"=>"/^([a-zA-Z0-9]*-[a-zA-Z0-9]*){4}$/"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment