Open main menu
is the largest regular expression database for regex pattern and matches containing searchable and filterable records for many different languages
Escape regex meta characters
This expression escapes characters, which have a special meaning in regex, like .?/ and so on. Use it to transform a string that you want to use literally in another regex.
Test numeric input to be between 0,01 and 100,00
Tests a numeric input to be between 0,00 < input <= 100,00. Decimals are optional but have at max 2 places.
Match multiline comments /* ... */
It won't match single line comments like this one: //* This comment won't be match */ ^ see the double / Works in PHP without the g modifier.
Email combo to username combo
Markdown link rewriting
A regular expression which finds all instances of markdown links and helps with rewriting link paths.
web log entry
Matching Character Class Transitions (customization of \b)
\b can be replicated as (?<=\w)(?=\W)|(?<=\W)(?=\w) Understanding how to create these class transitions can be beneficial for several reasons. In this instance, counting the results of this regex can be used to measure randomness within strings containing multiple character classes.
Ansible Host Var checking
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.