GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing javascript.info — Check MAC-address back to the lesson Check MAC-addressMAC-address of a network interface consists of 6 two-digit hex numbers separated by a colon. For instance: Write a regexp that checks whether a string is MAC-address. Usage:
A two-digit hex number is We need that number The regexp is: Now let’s show that the match should capture all the text: start at the beginning and end at the end. That’s done by wrapping the pattern in Finally: |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |