REGEXVAULT

Developer Tools

Essential patterns for modern development workflows. Validate UUIDs, API keys, Hex color codes, and common system identifiers.

74 patterns
Cron|

Cron Expression (Standard 5-Field)

Matches a standard 5-field Unix cron expression: minute hour day-of-month month day-of-week. Each field accepts a number, range, step, list, or wildcard.

complex3 engines
Cron|

Cron Minute Field

Validates the minute field of a cron expression: 0-59, wildcard, range, list, or step.

complex4 engines
Cron|

Cron Hour Field

Validates the hour field of a cron expression: 0-23, wildcard, range, list, or step.

complex4 engines
Cron|

Cron Day-of-Month Field

Validates the day-of-month field: 1-31, wildcard, range, list, step, or ? (Quartz).

complex4 engines
Cron|

Cron Month Field

Validates the month field: 1-12, wildcard, range, list, or step.

complex4 engines
Cron|

Cron Day-of-Week Field

Validates the day-of-week field: 0-7 (0 and 7 = Sunday), wildcard, range, list, step, or ?.

complex4 engines
Cron|

Cron Named Shortcut (@reboot, @daily, etc.)

Matches special named Vixie cron shortcuts: @reboot, @yearly, @annually, @monthly, @weekly, @daily, @midnight, @hourly.

moderate4 engines
Cron|

Cron Expression (6-Field Quartz/Spring)

Validates a 6-field Quartz/Spring cron expression with seconds: seconds minute hour day-of-month month day-of-week.

complex3 engines
Cron|

Cron Step Value Extraction

Extracts the step value from a cron field like */15 or 0-59/5.

moderate3 engines
Cron|

AWS EventBridge Rate Expression

Matches AWS EventBridge rate expressions: rate(5 minutes).

moderate4 engines
SemVer|

Semantic Version (Full SemVer 2.0.0)

Validates a full semantic version string per SemVer 2.0.0: MAJOR.MINOR.PATCH with optional pre-release and build metadata.

complex4 engines
SemVer|

Semantic Version with 'v' Prefix

Matches a SemVer string with an optional v/V prefix, as used in Git tags.

complex4 engines
SemVer|

SemVer Pre-Release Identifier

Validates a SemVer pre-release identifier segment (the part after the dash), including dot-separated identifiers.

complex4 engines
SemVer|

npm Version Range (Caret ^)

Matches an npm caret range specifier (^1.2.3), allowing changes that do not modify the leftmost non-zero digit.

complex4 engines
SemVer|

npm Version Range (Tilde ~)

Matches an npm tilde range specifier (~1.2.3), allowing patch-level changes when minor is specified.

complex4 engines
SemVer|

SemVer Comparison Operator Range

Matches SemVer ranges with comparison operators: >=, <=, >, <, =.

complex4 engines
SemVer|

SemVer Build Metadata Identifier

Validates a SemVer build metadata string (after the +), dot-separated alphanumeric identifiers.

moderate4 engines
SemVer|

Python Package Version (PEP 440)

Validates a Python package version string per PEP 440, supporting epochs, pre-release, post-release, dev, and local versions.

complex3 engines
SemVer|

Maven Version (Java)

Matches a Maven-style version string as used in Java/JVM project dependencies.

complex4 engines
SemVer|

Gradle / Kotlin Version

Matches a version string as commonly used in Gradle build files, supporting qualifiers.

complex4 engines
Docker|

Docker Image Name (Official/Simple)

Matches an official Docker Hub image name: lowercase alphanumeric with hyphens, underscores, and dots.

simple4 engines
Docker|

Docker Image Tag

Matches a Docker image tag (after the colon): alphanumeric chars, dots, hyphens, and underscores.

moderate4 engines
Docker|

Docker Image Full Reference

Matches a complete Docker image reference: optional registry/namespace, image name, optional tag or digest.

complex3 engines
Docker|

Docker Image Digest (SHA256)

Matches a Docker content-addressable digest in sha256:hexstring format.

simple4 engines
Docker|

Docker Registry URL

Matches a Docker registry URL: hostname with optional port, as used in docker login and image references.

moderate4 engines
Docker|

Dockerfile FROM Instruction

Matches a Dockerfile FROM instruction, capturing the image reference and optional AS alias.

complex3 engines
Docker|

Docker Container Name

Matches a valid Docker container name: starts with alphanumeric or underscore, followed by alphanumeric, underscore, hyphen, or dot.

moderate4 engines
Docker|

Docker Port Mapping

Matches a Docker port mapping: [host_ip:]host_port:container_port[/protocol].

complex3 engines
Docker|

Docker Volume Mount

Matches a Docker volume mount: [host-path:]container-path[:mode].

moderate3 engines
Docker|

Docker Environment Variable Assignment

Matches a Docker environment variable specification in KEY=value or bare KEY format.

moderate4 engines
Git|

Git Commit Hash (Full SHA-1)

Matches a full 40-character Git SHA-1 commit hash.

simple4 engines
Git|

Git Commit Hash (SHA-256, New Format)

Matches a full 64-character Git SHA-256 commit hash (for sha256-format repositories).

simple4 engines
Git|

Git Abbreviated Commit Hash

Matches an abbreviated Git commit hash: 4 to 40 hex characters.

simple4 engines
Git|

Git Branch Name

Matches a valid Git branch name, excluding reserved names and invalid characters.

complex3 engines
Git|

Git Tag Name

Matches a valid Git tag name following the same rules as branch names, conventionally with version prefixes.

complex4 engines
Git|

Git Remote URL (HTTPS)

Matches a Git remote HTTPS URL as used with git clone and git remote add.

complex4 engines
Git|

Git Remote URL (SSH)

Matches a Git remote SSH URL in the git@host:path format.

complex4 engines
Git|

Git Fully Qualified Ref Path

Matches a fully qualified Git ref path as stored in .git/refs (refs/heads, refs/tags, refs/remotes, refs/notes).

moderate4 engines
Git|

GitHub Actions Workflow Expression

Matches a GitHub Actions workflow expression: ${{ context.property }}.

complex3 engines
Git|

Conventional Commit Message

Validates a Conventional Commits 1.0.0 message: type(scope)!: description.

complex4 engines
Log Parsing|

Log Level Detection

Matches a log level keyword in application log lines: TRACE, DEBUG, INFO, WARN, WARNING, ERROR, FATAL, CRITICAL.

moderate4 engines
Log Parsing|

ISO 8601 Log Timestamp

Matches an ISO 8601 timestamp as found in structured logs: YYYY-MM-DDTHH:MM:SS with optional milliseconds and timezone.

complex4 engines
Log Parsing|

Apache/Nginx Combined Log Format

Matches an Apache or Nginx access log entry in Combined Log Format.

complex4 engines
Log Parsing|

Syslog Priority and Facility

Matches and decodes a syslog priority field <N>, extracting facility and severity.

moderate4 engines
Log Parsing|

Java Stack Trace Frame

Matches a Java stack trace frame line: at package.Class.method(File.java:line).

complex4 engines
Log Parsing|

Python Stack Trace Frame

Matches a Python traceback frame line: File "path", line N, in function.

moderate4 engines
Log Parsing|

Node.js Stack Trace Frame

Matches a Node.js V8 stack trace frame: at function (file:line:col).

complex4 engines
Log Parsing|

Log File Path Extraction

Extracts Unix-style absolute file paths from log lines.

simple4 engines
Log Parsing|

Duration / Time Elapsed Extraction

Matches a duration value with unit as commonly logged in performance and timing output.

complex4 engines
Log Parsing|

HTTP Request Log Line

Extracts key fields from a structured HTTP request log: method, path, status code, and duration.

complex3 engines
File Paths|

Unix Absolute Path

Matches a Unix-style absolute path starting with /, with slash-separated segments of safe characters.

complex4 engines
File Paths|

Path Traversal Detection

Detects path traversal sequences (../ and ./) that could enable directory traversal attacks.

moderate4 engines
File Paths|

Unix Relative Path (Safe)

Matches a Unix-style relative path without leading slash, traversal sequences, or dangerous characters.

complex3 engines
File Paths|

File Extension Extraction

Extracts the file extension from a filename, handling dotfiles, multiple dots, and full paths.

moderate4 engines
File Paths|

Windows Absolute Path (Drive Letter)

Matches a Windows absolute path starting with a drive letter (C:\), with backslash or forward slash separators.

moderate3 engines
File Paths|

Windows UNC Path

Matches a Windows UNC network path: \\\\server\\share\\path.

complex3 engines
File Paths|

Windows Executable / Dangerous Extension Blocklist

Matches file extensions that are potentially dangerous to execute or serve on Windows and Unix.

complex4 engines
File Paths|

POSIX File Permission Octal

Matches a Unix file permission string in octal notation (3-4 digits, each 0-7).

simple4 engines
Environment|

POSIX Environment Variable Name (Uppercase Convention)

Matches a POSIX environment variable name by convention: uppercase letters, digits, underscores, starting with letter or underscore.

simple4 engines
Environment|

Environment Variable Assignment (KEY=value)

Matches a full environment variable assignment capturing key and value separately.

moderate4 engines
Environment|

dotenv File Line

Matches a .env file variable line with optional export prefix, quoted or unquoted values, and inline comments.

complex3 engines
Environment|

Shell Variable Interpolation

Matches shell variable interpolation: $VAR or ${VAR} with optional expansion operators.

complex3 engines
Environment|

AWS ARN (Amazon Resource Name)

Matches an AWS ARN with all standard components: partition, service, region, account, and resource.

complex4 engines
Environment|

Kubernetes Resource Name

Matches a valid Kubernetes resource name: lowercase alphanumeric with hyphens, max 63 characters (RFC 1123 DNS label).

moderate4 engines
Shell|

Shebang Line

Matches a Unix shebang line at the start of a script file, capturing the interpreter path and arguments.

moderate4 engines
Shell|

Command-Line Flag (Short / Long)

Matches command-line flags in short (-f) or long (--flag) format, optionally with a value.

complex4 engines
Shell|

Unix Username

Matches a valid Unix username: starts with letter or underscore, lowercase, max 32 chars.

simple4 engines
Shell|

Process ID (PID)

Matches a Unix process ID: a positive integer in the range 1-4194304 (Linux max PID).

moderate4 engines
Shell|

Unix Signal Name

Matches Unix signal names with optional SIG prefix, including real-time signals.

complex4 engines
Config|

YAML Key (Unquoted Scalar)

Matches a simple unquoted YAML mapping key: alphanumeric with underscores, hyphens, and dots, followed by a colon.

complex3 engines
Config|

INI File Section Header

Matches an INI file section header: [SectionName] with optional inline comment.

moderate4 engines
Config|

INI File Key=Value Pair

Matches an INI file key-value pair with = or : delimiter, supporting inline comments.

moderate4 engines
Config|

TOML Bare Key

Matches a TOML bare key: ASCII letters, digits, underscores, and hyphens only.

simple4 engines
Config|

Kubernetes Label / Annotation Value

Matches a Kubernetes label or annotation value: alphanumeric with hyphens, underscores, and dots, max 63 chars.

moderate4 engines