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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -