notepad++ - Replace last / in notepad ++ with some other -


i have list of urls like

http://example.com/data/fgh/xyz

i want replace last / ?id=

http://example.com/data/fgh?id=xyz

thanx in adavance.

something should work.

replace

find what: \/(^[\/]*)$

replace with: ?=$1 (or possibly ?=\1 although reason mine worked $1...)

make sure check "regular expression" @ bottom:

enter image description here


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -