/[a-zA-Z-0-9]+/giJavaScript+07 years ago✓ Pre-loaded
About this regex
This regular expression matches sequences of one or more alphanumeric characters and hyphens. It can be used to extract hyphen-separated slugs, simple tokens, or alphanumeric IDs from a given text.