How to make KEY CHECK MatchesRegex And DoesNotMatchRegex?
To be considered as a success if find in any place of SOURCE any of the following lines
fdgdgh4r:fe456ge | fsff | fefdgg
g5ghh5f:f4e84tger | dsfg | wertyu5f6
r48y4hs6s:f5f4gvn4 | dd4f5g | qdsdb1r86 | qw98qer9 | gdfg4d7g478r
Example SOURCE
gfdgfdh4
fdgdgh4r:fe456ge | fsff | fefdgg
g5ghh5f:f4e84tger | dsfg | wertyu5f6
gfdgfdh4df564h54h
d4hdf8h4h
r48y4hs6s:f5f4gvn4 | dd4f5g | qdsdb1r86 | qw98qer9 | gdfg4d7g478r
gdsg 45gdsgsd45 gdsgdsg45
What i want is to do Regex that at the begin of any line it most be 4+ anycharacters:4+ characters and space or more and | and anything after then end line
i tried this code ^....+:....+ +|.*$
also this code ^....+:....+ +[|].*$
But itβs not working as it considers anything success
Any help will be much appreciated it