Date extractor

Published on Tue Mar 01 2022

Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)

Additional matching regexes for
Date extractor

Date extractor

Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)

Discord ID:NAME#DISCRIM match

For example, using ``Carl-bot`` to dump members of the ``@everyone`` role ordering highest of ``id``: ``!dump @everyone %i:%u -o id`` Example of return: ``` 498984530968051713:lanjt#2129 ... ``` Matches with group ID, group NAME and group DISCRIMINATOR.

Date and time capturer

Works for the Julian calendar, dates between 0000-01-01 and 9999-12-31. Includes my birth date in the 4th example.

YOLO

Substitutes "you only live once" with "YOLO".

CamelCase parsing helper

Helper regex for parsing CamelCase identifiers. Captures the first word of the identifier in group 1 and the rest in group 2. Iterate to consume the whole name. Works on fooBar, FooBar, and FOOBar.

IPv4 + TCP-Port

This regex matches a IPv4 with a TCP Port (1-65535) Example: `192.168.0.69:1337` will match and have the groups: - Group 1: `192.168.0.69` - Group 2: `1337`

Gitlab GraphQl query finder

Searches for the first list element in a graphql query, which allows for filtering and pagination, except for the group node

Machine Readable Passport - Extractor

First version of MRP Extractor Future versions include 1. Merge with validator (if possible) 2. Check nationalities

match arguments similar to shell, supports quoted string

first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.

Cisco FastEthernet Ports 13-24

This regex captures Cisco-style FastEthernet ports 13-24