HomeRegex LibraryUn-hyphenated 32-Char Hexadecimal UUID Regex
100% Client-Side β€’ 0 B Data Leaves Browser
formatting

Un-hyphenated 32-Char Hexadecimal UUID Regex

Validates 32-character compact hexadecimal UUIDs/GUIDs stripped of standard hyphen delimiters.

Regular Expression Pattern:
/^[0-9a-fA-F]{32}$/
Valid Match Example:
e7236c525b5b444da6428c3ed5a29340
Invalid / Non-Match Example:
e7236c52-5b5b-444d-a642-8c3ed5a29340

Regex Syntax Breakdown & Explanation

  • β€’^[0-9a-fA-F]{32}$ : Matches exactly thirty-two hexadecimal digits from start to end without hyphens.

Implementation in Popular Languages

JavaScript / TypeScript
const regex = /^[0-9a-fA-F]{32}$/;
const isValid = regex.test("e7236c525b5b444da6428c3ed5a29340");
console.log(isValid); // true
Python (re)
import re

pattern = r"^[0-9a-fA-F]{32}$"
match = re.match(pattern, "e7236c525b5b444da6428c3ed5a29340")
print(bool(match)) # True
Go (regexp)
package main
import (
  "fmt"
  "regexp"
)

func main() {
  re := regexp.MustCompile(`^[0-9a-fA-F]{32}$`)
  fmt.Println(re.MatchString("e7236c525b5b444da6428c3ed5a29340"))
}
Frequently Asked Questions

Frequently Asked Questions

Everything you need to know regarding specifications, syntax, and security best practices.

The regular expression pattern is /^[0-9a-fA-F]{32}$/. Validates 32-character compact hexadecimal UUIDs/GUIDs stripped of standard hyphen delimiters.