Machine Readable Passport - Extractor

Published on Tue Mar 01 2022

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

Additional matching regexes for
Machine Readable Passport - Extractor

Machine Readable Passport - Extractor

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

Complete Machine Readable Passport pattern

Regex to identify and split the components of a machine readable passport pattern text

Guid (with or without dashes)

Matches a guid string that can optionally include dashes.

include case

How to include the matched cases in the result?

Version Matcher

Matches version strings.

Episode numbering below 100

Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.

Labels with version numbers

Quick studty of labels with version numbers

E.164 ITU Telephony Standard including Extensions

Basic RegEx to catch ITU E.164 Formatted Telephone Numbers. Must include leading '+', first digit cannot be a zero, no other non-numeric characters -- with (optional) exception of Extensions denoted by ";ext=" and between 3 and 6 digits in the extension (adjust max to suit organization)

semver

Semantic Versioning regex pattern according to Tom Preston-Werner http://semver.org/ https://github.com/mojombo/semver/blob/master/semver.md First version of this regex follows semver 2.0.0. Discussion of semver and this regex was posted on https://github.com/mojombo/semver.org/issues/59

Match the start of a link.

https:// http:// https://\/\/ https:\/\/\/\/\/\ https://\/\/ The reason I include [\/\\]* is because some links like: https://\/\/\/\/\/www.google.com actually work.