Skip to content

Instantly share code, notes, and snippets.

@wviana wviana/REGEX.sql
Created Feb 3, 2017

Embed
What would you like to do?
'^(?:(?!.*(A ?4))).*[^T\d]((\d+) ?[xX] ?\d+[[:alpha:]]*\y).*$'::text AS nXm,
'^.*\y(CX[ c/]*(\d+)[^\d]*)\y.*$'::text AS CXn,
'^.*\y(CX(\d+)UN)\y.*$'::text AS CXnUN,
'^.*[^\d]((\d+) ?ROLOS).*$'::text AS nRolos,
'^.*(C/ ?(\d+) *UN).*$'::text AS CBarrAnUN,
'^.*[^\d]((\d+) ?UN).*$'::text AS nUN,
'^.*[^\d]((\d+)\/).*$'::text AS nBarra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.