Return to Snippet

Revision: 1912
at November 20, 2006 20:00 by Corhol


Initial Code
/(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})\b)/

Initial URL

                                

Initial Description
Matches any hex value (0123456789ABCDEF) preceded by the pound sign (#) of exactly 3 or 6 digits in length.

Initial Title
Hexadecimal Value

Initial Tags
regexp

Initial Language
Regular Expression