Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
  2.  
  3.  
  4. ^ #start of the line
  5. # # must constains a "#" symbols
  6. ( # start of group #1
  7. [A-Fa-f0-9]{6} # any strings in the list, with length of 6
  8. | # ..or
  9. [A-Fa-f0-9]{3} # any strings in the list, with length of 3
  10. ) # end of group #1
  11. $ #end of the line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement