Jump to content
UBot Underground

How To Add Spaces After The Numbers

Recommended Posts

Hi All,


I have this text scraped from a webpage "4Hours47Minutes23Seconds", and I wanted to put a space at the end of each number. So far I am only able to group them like this  (\d{1,2}.{1,5})+(\d{1,2}.{1,7})+(\d{1,2}.{1,7}). Which outputs :



My question is, how do I perform the adding of this space character? Output should be 4 Hours 47 Minutes 23 Seconds.




Edited by CryptoBot
Link to post
Share on other sites

set(#n,$replace(#n,"Hours"," Hours "),"Global")
set(#n,$replace(#n,"Minutes"," Minutes "),"Global")
set(#n,$replace(#n,"Seconds"," Seconds"),"Global")
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...