Created
August 2, 2017 21:48
-
-
Save JoshuaCarroll/bb8cc7238340fe05aa1cc2aa308f6b7a to your computer and use it in GitHub Desktop.
Regular expression for validating and parsing credit/debit card magnetic stripe data
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
^%B([0-9]{1,19})\^(.*?)\^([0-9]{1,4})([0-9]{1,3})(.*?)\?.*?;([0-9]{1,19})=([0-9]{1,4})([0-9]{1,3}).*?\?(.*?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment