skip to Main Content

Redis – how to remove some strings in emeditor(Regex )

i want to remove some string and save other part of string that i need from a file with emeditor .. file line like : {"message":"{"_":"user","pFlags":{"contact":true},"user_flags":2143,"id":702212125,"access_hash":"914250561826","first_name":"david","last_name":"jones","username":"david_d192","phone":"051863329875","status":{"_":"userStatusRecently"}}","phone":"051863329875","version":"3","type":"unknown","token":"1556189892619764206","p_id":702212125,"username":"david_d192","type":"redis","user_flags":2143,"host":"win",from":"contacts"} {"index": {"_type": "_doc", "_id": "36GG54F"}} {"message":"{"_":"user","pFlags":{"contact":true},"user_flags":2143,"id":702212125,"access_hash":"914250561826","first_name":"david","last_name":"jones","username":"david_d192","phone":"051863329875","status":{"_":"userStatusRecently"}}","phone":"051863329875","version":"3","type":"unknown","token":"1556189892619764206","p_id":702212125,"username":"david_d192","type":"redis","user_flags":2143,"host":"win",from":"contacts"} {"index": {"_type": "_doc", "_id": "36GG54F"}} {"message":"{"_":"user","pFlags":{"contact":true},"user_flags":2143,"id":702212125,"access_hash":"914250561826","first_name":"david","last_name":"jones","phone":"051863329875","status":{"_":"userStatusRecently"}}","phone":"051863329875","version":"3","type":"unknown","token":"1556189892619764206","p_id":702212125,"type":"redis","user_flags":2143,"host":"win",from":"contacts"} {"index": {"_type":…

VIEW QUESTION

Apache mod_rewrite to lighttpd

I'm trying to transfer a PHP project from apache to lighttpd. I have the following rewrite in the apache: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule !.(js|ico|gif|jpg|jpeg|png|css|ttf)$ /index.php?_url=/$1 [QSA,L] I can't manage to translate it to lighttpd mod_rewrite.…

VIEW QUESTION

apache dispatcher rewrite query string rule

I need to rewrite a URL with a query string into another URL. For example, I have https://www.something.com/cat/man/clothing/?colourfilter=blue_red It needs to be rewritten to https://www.something.com/cat/man/clothing.html/colourfilter=blue_red I tried to follow the tutorial at https://simonecarletti.com/blog/2009/01/apache-query-string-redirects/ My current attempt is below: RewriteCond %{QUERY_STRING}…

VIEW QUESTION
Back To Top
Search