Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
- ^ #start of the line
- # # must constains a "#" symbols
- ( # start of group #1
- [A-Fa-f0-9]{6} # any strings in the list, with length of 6
- | # ..or
- [A-Fa-f0-9]{3} # any strings in the list, with length of 3
- ) # end of group #1
- $ #end of the line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement