Answers for "how to write regex of hex code"

-1

how to write regex of hex code

regex = "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
Posted by: Guest on March-29-2021

Browse Popular Code Answers by Language