Sign in
apache
/
drill-test-framework
/
HEAD
/
.
/
framework
/
resources
/
Functional
/
p1tests
/
regexp_replace2.q
blob: 989352b83812e55390191c006f54e244600c5c0a [
file
] [
log
] [
blame
]
select
regexp_replace
(
'408.123.4567'
,
'(\d{3})\.(\d{3})\.(\d{4})'
,
'($1) $2-$3'
)
from
voter
where
voter_id
=
10
;