99网
您的当前位置:首页oracle 正则表达式匹配

oracle 正则表达式匹配

来源:99网

    AV-QWERQWER
    [[任何字母]]{2位}[[任何白字符]]{1位}[[任何字母]]{8位}
    select count(*) from tableName where regexp_like(colName, '[[:alpha:]]{2}[[:space:]]{1}[[:alpha:]]{8}')	
    1234567
    [[任何数字]]{9位}
	select count(*) as num from tableName  where  regexp_like(colName, '[[:digit:]]{9}')

因篇幅问题不能全部显示,请点此查看更多更全内容