regexmatch.dev
Explore

Save & Share

Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit

zpool status

Published on Tue Mar 01 2022

Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools

pool: zfs state: ONLINE config: NAME STATE READ WRITE CKSUM zfs ONLINE 0 0 0 ata-HGST_HTS725050A7E630_TF655AY92LL99L ONLINE 0 0 0 errors: No known data errors

Additional matching regexes for
zpool status

zpool status

Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools

replace between brackets 3

replace multiple matches of words in brackets with no brackets

postfix

get ip identifier, queue name, email domain and status from postfix log

Multiple emails seperated with comma

Multiple emails seperated with comma allowed multiple dot ltds

SRT (SubRip) Parser

Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.

ServiceNow - Retrieve text from an Email

retrieve multiple lines from an email body.

prime factorization

matches only non-prime numbers; match length is smallest divisor

ln -l linux parse

parse linux ln -l output command

AXIO - Parsing debug:router command

Parsing of a debug:router command output

Signature of UNIFI Protect in SPLUNK for DHCP

Pulls the DHCP Command from SPLUNK output