Sublime Forum

Regex: replace .count(...) with .where(...).count

#1

Hi,

I’m trying to replace .count(…) with .where(…).count using regex.

Thanks for your help.

0 Likes

#2

Search for:
.count((^)]*))
replace with
.where($1).count

0 Likes