Regex for Hex Color Code
Regex matching #RGB, #RRGGBB and #RRGGBBAA hex colours, with a no-alpha version, tested live with code for five languages. Free and runs in your browser.
Runs in your browser · files never uploaded 100% free
Related tools
Python Regex TesterTest Python re patterns with named groups, flags and substitutions against your text, with matches, groups and ready Python code. Free in your browser.Java Regex TesterTest java.util.regex patterns and get the escaped Java string literal, matches, groups and replaceAll results for your text. Free and runs in your browser.Go (RE2) Regex TesterTest Go regexp patterns with RE2 rules, so lookarounds and back-references are flagged as Go would, with matches and Go code. Free in your browser.PHP (PCRE) Regex TesterTest preg_match patterns with delimiters and PCRE modifiers, see captured groups and preg_replace output, and copy the PHP code. Free in your browser.JSON to .env ConverterTurn a JSON config object into KEY=VALUE lines for a .env file, with nested keys flattened, arrays handled and values quoted safely. Free in your browser.Base64URL Encoder / DecoderEncode text or hex to URL-safe Base64 without padding, or decode Base64URL and whole JWTs back to readable text or JSON. Free and runs in your browser.