Regex Explorer

regexmatch.dev is the largest regular expression database for regex pattern and matches containing searchable and filterable records for many different languages

Livestock - Visual tag and Back tag

Visual tag and Back tag cannot more than 15 characters or only can contain uppercase, lowercase, space and dash.

Multiple emails seperated with comma

Multiple emails seperated with comma allowed multiple dot ltds

National Insurance Number regular expression

This regular expression is build from the description of NINO number of [GOV.UK](https://www.gov.uk/hmrc-internal-manuals/national-insurance-manual/nim39110),

Time duration format

Match time duration in the following formats only: 1h 30m 59m 1h 33m 11h 2m

Escherichia coli, partial genome simple coding region search

>NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome

BEM

CSS Coding Guideline **BEM** (Block Element Modifier)

Email

This is a bit simpler version that is **still quite robust.** It was taken from [a Formik example.](https://formik.org/docs/guides/validation#validate)

Find and extract email domain

Find and extract email domain. Ex: [email protected] -> extract 'example.pt'

camelCase2snake_case

Convert camelCase to snake_case. In `Python` the `\L` case modifier in the substitution pattern to lower case is not supported. ```py def camelCase2snake_case(txt): """ Convert camelCase to snake_case https://regex101.com/r/D3a0de/2/ """ txt = re.sub(r'([A-Z]+)', '_\\1', txt.strip()) txt = txt.lower() return txt ``` [JV-conseil](https://github.com/JV-conseil)

HSL(A) Color Matching

This allows for both hsl and hsla color patterns to be matched. `hsla(50.5deg, .531%, .9%, 1.0)` - The hue can be matched without the word `deg`. - Hue is from 0-360 - Percentage allows for decimals. - Percentage is from 0-100% - Alpha is from 0.0-1.0