@rebornix and @roblourens , Similar to #79525 , We can implement for underscore character as well , Proposing this will be only just underscore or just hyphen replacements and not both.
Foo-Bar replaced with newfoo-newbar with case preserved will be Newfoo-Newbar and Foo_Bar will be Newfoo_NewBar.
Please let me know if this gets a node from you guys ?
Thanks!