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

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

Sort a complex associative array in PHP -