Unable to replace "." with "\." using replace all text block

I am unable to replace the IP address's "." with "\." which I am getting using the web api call from this url: https://api.ipify.org/?format=json and using method call.web1 jsontextdecodewithdictionaries I am saving that dictionary in an variable and then getting the key "ip" in the dictionary and joining it with webviewer url so that my telegram bot can send a message to me when someone accesses admin panel of my app.

blocks .

Try to use \\.

2 Likes

Like this ?

2 Likes

Thanks @Kevinkun and @dora_paz for your help and valuable time :pray:t2:

1 Like

@dora_paz and @Kevinkun I forgot to ask you why do we need to use "\\." instead of "\." :question:

please google "escaping characters java"

2 Likes
2 Likes

Okay..... :+1:t2: Thanks..... :pray:t2:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.