I have a rewritten URL like :
http://localhost/category/23/seach_kw/
foo and I want to replace 23 and foo with '_' character. and what I need is :
My problem is that RE2::Replace method requires rewrite argument which I don't have it.
RE2::Replace(&s,rx,?????????????);
I'm not also sure if unnamed group may help me or not.
Is there any approach ?
Appreciate your help.
Hassan