Created
March 29, 2019 16:13
-
-
Save kissmygritts/bead13dbac713a7e56bf5c7b0598634e to your computer and use it in GitHub Desktop.
regex to select formatted lab ids
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select distinct | |
specimenid | |
from health.labs | |
where specimenid !~ '([[:alnum:]]+)(_|-)(\d+)(_|-)(\d+)'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment