Extract Fields from Mailexpire

Published on Tue Mar 01 2022

Given the HTML of an alias's control panel, apply the XPath "//span[@class='maintext']". The second result returned can be parsed by this regex to yield the most pertinent field names and their values.

Additional matching regexes for
Extract Fields from Mailexpire

Extract Fields from Mailexpire

Given the HTML of an alias's control panel, apply the XPath "//span[@class='maintext']". The second result returned can be parsed by this regex to yield the most pertinent field names and their values.

Get value from string

Used to get a value from a class e.g.: [...] class="font-12"[...] This regEx will receive "12" given the content of the class

Break PANEL webcomic

regex that wrap the Panel section with <div class="panel">$&</div> so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110

Extract All Steam Keys

Extract all Steam Keys from a Given String

Email

email format control

Phone number tests

Test a given string for phone number variations and extract th parts.

Email validation

It validates an email address with alias

CSV parsing

matches the exact fields of CSV files supports: qouted fields quoted fields containing commas, doubble quoutes, and newlines empty fields empty records arbitrary white space in, and outside quoted fields

fail2ban real expression for w00tw00t

A real fai2ban expression for w00tw00t with <HOST> alias substitution

Svelte: CSS class attribute (Svelte or HTML friendly), class:directive, TailwindCSS classes, and @apply.

# SvelteComponent Class Directive Matching Also supports TailwindCSS-style `@apply` directive for the class value. ## `class:directive={boolean}` Svelte allows us to provide a "class directive", or a class name in the form of `class:NAME={boolean}`. If we place a boolean (or function that returns a boolean) as its value, it will add the class "NAME" to the component when it returns true, or omit it when false. This is extremely useful for navigation components, and I use it all the time to highlight active links in my UX/UI development process. ```svelte <NavBar> <Link href="#abc" class:active={page === 'abc'}>ABC</Link> <Link href="#xyz" class:active={page === 'xyz'}>XYZ</Link> </NavBar> ``` Flexible matching for the class attribute on both **Svelte Components** and **HTML Elements**.