Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
r"%d*$" +V
Ur"%d*$" +V # Implicit input (U and V)
r # Remove
"%d*$" # any trailing digits
U # from the first input
+V # And append the second input
# Implicit output