Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
COALESCE\((.*?)\)
"
g
Input 1
New
select DISTINCT SUM(case when t0_0.pp is not null then COALESCE(t0_0.pp,0) else 0 end) from inventory_coverage_view t0_0 where LOWER(t0_0.h) ='vg' AND t0_0.id = '9'
Substitution
select DISTINCT SUM(case when t0_0.pp is not null then COALESCE(t0_0.pp,0) else 0 end) from inventory_coverage_view t0_0 where LOWER(t0_0.h) ='vg' AND t0_0.id = '9'