Elysia Tools
Navegación
Validación
Slugs con una política ASCII explícita
Permita aquí solo letras ASCII minúsculas y dígitos en grupos no vacíos separados por un guion. No es una regla URL universal.
Ejemplos
Entradas de esta colección
Patrones Comunes de Slugs de URL
Una lista de ejemplos de slugs de URL válidos e inválidos que muestran el formato correcto
# URL Slug Samples
# Copy one of these lines to test the Slug Validator
# --- Valid Slugs (Recommended) ---
# Simple single-word slugs
hello
world
blog
home
about
contact
# Multi-word slugs with hyphens
my-blog-post
hello-world
getting-started
web-development-guide
best-practices-for-coding
# Product slugs
product-name-123
amazing-widget-v2
premium-service-plan
# Article slugs
how-to-learn-programming
top-10-javascript-tips
understanding-async-await
introduction-to-machine-learning
# Category slugs
web-development
mobile-apps
data-science
cloud-computing
# Slugs with numbers
version-2-0
chapter-1
page-42
2023-annual-report
# Date-based slugs
2023-12-25-daily-update
2024-january-newsletter
# Short slugs
api
docs
faq
help
# SEO-friendly slugs
best-coffee-shops-nyc
seo-tips-for-beginners
healthy-recipes-for-kids
# --- Slugs With Underscores (Validator-dependent) ---
my_first_post
user_profile_page
data_structures_101
# --- Nonconforming Examples (under lowercase ASCII hyphen-only policy) ---
# Contains uppercase (outside this lowercase policy)
MyBlogPost
HelloWorld
JavaScriptTutorial
# Contains spaces (invalid - should use hyphens)
my blog post
hello world
user profile
# Starts or ends with hyphen (invalid)
-my-post
my-post-
-test
# Starts or ends with underscore (not recommended)
_my_slug
my_slug_
# Consecutive hyphens (not recommended)
my--blog--post
test---example
# Other characters (outside this hyphen-only policy)
hello@world
test.slug
slug#tag
user&profile
# Mixed formats (policy-dependent; underscores excluded by this policy)
My Blog Post!
user@profile-page
test_slug_123Herramientas
Herramientas que suelen usarse con este ejemplo
Relacionado
Colecciones de ejemplos relacionadas
Relacionado