Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \d{4}([0248][048])|([13579][26])$
- <script type="text/javascript">
- $( document ).ready(function() {
- $("*").click(function(){
- $(this).css( "border", "3px solid rgb(255, 17, 17)" );
- });
- });
- </script>
- /vaklidacja
- ( document ).ready(function() {
- $("input").keyup(function(){
- var bank = $(this).val();
- var reg = /^[A-Z][A-Z]\d{8}\d{16}$/.test(bank);
- if (reg){
- $("span").text("Good Formatting!");
- }else
- {
- $("span").text("BAD JOB");
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement