regex - How to write hive query for Regex_extract -
regex - How to write hive query for Regex_extract -
input file : 400xxx$52568999x&^000x&^00002
i want extract file 1 column : 4005256899900000002
how can in hive regex_extract ?
please can 1 allow me know .
i don't know hive, in regex terms, you're asking is:
search: \d+
(any chars not digits)
replace: empty string.
in the demo, see substitutions @ bottom.
regex hive
Comments
Post a Comment