Regex to match any JSON value with fewer steps possible

Published on Tue Mar 01 2022

If you find... - any JSON value that should be matched but isn't, - any JSON value that should NOT be matched but is - or simply a way to match the values with fewer steps... please, let me know.

Additional matching regexes for
Regex to match any JSON value with fewer steps possible

Regex to match any JSON value with fewer steps possible

If you find... - any JSON value that should be matched but isn't, - any JSON value that should NOT be matched but is - or simply a way to match the values with fewer steps... please, let me know.

URL infos

A powerful regex (fewest steps possible) which gives you all the information about urls.

ReGEX EXPression

ReGEX EXPression generating Values but repeating want values should not repeat.

Timecode

Regex to match standard timecode format. (Updated with fewer groups).

html color match: transparent, #fff, #123456, rgb, rgba, hsl, hsla

This may be useful or not to test whether a given string is a valid (more or less) html color value. It matches color values such as: - #123 - short hex color value - #123456 - hex color value - rgb(255,255,0) - rgb color value - rgba(255,255,0,1.0) - rgba color value - hsl(360,100%,100%) - hsl color value - hsla(360,100%,100%,0.5334) - hsla color value Regex allows whitespaces between i.e. rgb and (, also between numbers and commas, but not in value like 55% between number and percentage. To change this behaviour simply remove \s*? from appriopriate places.

Element's Attribute Value in XML (simple)

Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.

iOS Localizable.strings parser

Can be used to find all keys and values in .strings file. Matching pattern: "key" = "value";

Hex Input List

Match one or two digit hex values separated by a comma.

RegEx to validate oAuth 2.0 redirect_uri

A simple RegEx rule which should validate redirect_uri for oAuth2

Regex for matching assignments

Match the java assignments and get the assigned value