Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
(?<type>[a-zA-Z2]*)(\((?<precision>\d*)(,(?<scale>\d*))?\))?
"
gms

Description

Database data type determination and extraction. Example:

  • varchar(20)
  • varchar2(20)
  • number(20,3)
  • timestamp
  • Varchar(20)
Submitted by anonymous - 2 years ago