Get text between certain characters from a huge HTML

Published on Tue Mar 01 2022

Get text between certain characters from a huge HTML

Additional matching regexes for
Get text between certain characters from a huge HTML

Get text between certain characters from a huge HTML

Get text between certain characters from a huge HTML

Get stuff inside <a> tags

Get stuff inside <a> tags, which are between certain words

Person NAME verification

Regular Expression ``` ^[a-zA-Z ]{2,30}$ ``` - Allow only letters and space between each characters to support for multi word single name. Only accepts english letter characters.

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.

Simple ID verification

Used to validate documents identifiers like passports and IDs, VISA numbers. - Default to `6` characters *min* and *max* `30` characters for format `tin-no`, such as the Tax regisration number.- Regular Expression ```js ^[a-zA-Z0-9 ]{6,30}$ ``` - Accepts both lowercase and uppercase letters, from a-z, digit, and white space. - NOTE: Double white space between characters not validated.

CSS instructions

Find everything between {}

Password Complexity

Password Complexity 8-32 Characters, AlphaNumeric with OWASP Special Characters

Alphanumeric and Spaces

Alow alphanumeric characters and spaces

Extract elevation from GPX

Matches everything except content between <ele> and </ele>

Simple person name verification

Regular Expression `^[a-zA-Z ]{2,50}$` - Allow only letters a-z and space between each character to support multi-word single names. - Prone to errors in repeated spaces, to be cleanup by the app. Minimum 2 characters and max 50.