openresty / replace-filter-nginx-module

Streaming regular expression replacement in response bodies
260 stars 68 forks source link

how to replace json value according to json key list #23

Open jetspeed opened 7 years ago

jetspeed commented 7 years ago

is there a directive or regex expression to accomplish this? such as replace {account_no:12345678} to {account_no:1234***8} if there is a config list contains account_no. thx