fork download
  1. #!/bin/bash
  2.  
  3. sed -r ':
  4. s/([^0-9])([0-9])/\2\1/
  5. t'
Success #stdin #stdout 0s 5072KB
stdin
A word can have any number of text like 433884,
but all the numb89ers has to be moved left side 
but alph6abetical va9lues has to be pas46ted on right side.
The text might con4tain chara29cters s2huffled like hlep or dfeintino or even
meaningless1 words co43mbined togeth81er.
stdout
433884A word can have any number of text like ,
89but all the numbers has to be moved left side 
6946but alphabetical values has to be pasted on right side.
4292The text might contain characters shuffled like hlep or dfeintino or even
14381meaningless words combined together.