Makinero: -------------------------------------------------------------------------------- What Regex for removing "_HardSpaceNumber_"
hxxp://site.com/ID109087554__0_ hxxp://site.com/ID109087554__7634545_ hxxp://site.com/ID109087554__000_ and many other similar links /IDd+_*_d+*_ -------------------------------------------------------------------------------- Your Notepad++ regex will not work either for your modified example without spaces now. And please, use a better subject line for your next post! Thanks. . . FROM: hxxp://site.com/ID109087554_0 hxxp://site.com/ID109087554_7634545 hxxp://site.com/ID109087554_000 . . TO: hxxp://site.com/ID109087554 hxxp://site.com/ID109087554 hxxp://site.com/ID109087554 . . USE Strg+H Search: "_\d+$" Replace: "" [X]Regular Expressions RESULT: --------------------------- Info --------------------------- Gesuchter Ausdruck "_\d+$" wurde 3 -Mal ersetzt. --------------------------- OK --------------------------- . . Explanation: Match underscore (_) + one-or-more(+) digit (\d) + at end of line ($) Replace with nothing. Don't use the quotes ""! They are only for clarify. . . -- greets, Stefan [img]http://pspad.milten.lima-city.de/Fan.gif[/img] (pleased user since 1722) [url=http://tinyurl.com/52xrj]inofficial FAQs[/url] + [url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + [url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url] <http://forum.pspad.com/read.php?2,62730,62745> PSPad freeware editor http://www.pspad.com
