majo majo
majo majo

Reputation: 43

Replace middle chars with dots

I have a example regex to remove the middle characters, and output only the last five digits

Output for this (?<=\d{5})\d(?=\d{4}) is 75685XXXXXXXXXX76575

Now is it possiable to have this 0x388c818ca8b9251b393131c08a736a67ccb19297 and output like this 0x388c ... cb19297

Upvotes: -2

Views: 112

Answers (0)

Related Questions