static S replaceNumberWith(S s, S replacement) { ret s.replaceFirst("\\d+", replacement); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003610 |
Snippet name: | replaceNumberWith |
Eternal ID of this version: | #1003610/1 |
Text MD5: | ac92ace68f5b94f18dbead9f67a5da4c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-24 18:07:56 |
Source code size: | 95 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 539 / 567 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021182 - replaceNumbersWithVars |