value-attached text

Published on Tue Mar 01 2022

value-attached text

Additional matching regexes for
value-attached text

value-attached text

value-attached text

link findall

<NAME: VALUE>

get href

gets value of href

Replace variable value with variable

Replace variable value with variable

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.

matching value of html src attribute

matching value of html src attribute

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.

border syntax checker

Checks the css value for a border

Browser Console - Format Specifier

Captures format specifiers commonly used in logging and console messages, as defined in [the current whatwg/console spec](https://console.spec.whatwg.org/#formatter): - `%s`: Formats the value as a string - `%i`: Formats the value as an integer - `%d`: Formats the value as an integer - `%f`: Formats the value as a floating point value - `%o`: Formats the value as an expandable DOM element. As seen in the Elements panel - `%O`: Formats the value as an expandable JavaScript object - `%c`: Applies CSS style rules to the output string as specified by the second parameter

Browser Console - Format Specifier

Captures format specifiers commonly used in logging and console messages, as defined in [the current whatwg/console spec](https://console.spec.whatwg.org/#formatter): - `%s`: Formats the value as a string - `%i`: Formats the value as an integer - `%d`: Formats the value as an integer - `%f`: Formats the value as a floating point value - `%o`: Formats the value as an expandable DOM element. As seen in the Elements panel - `%O`: Formats the value as an expandable JavaScript object - `%c`: Applies CSS style rules to the output string as specified by the second parameter