This is a discussion on "Add white space using RegEx" within the JavaScript Forum section. This forum, and the thread "Add white space using RegEx are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Add white space using RegEx
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Add white space using RegEx
I have a string: 1,2,3,4,5
I need it to look like this: 1, 2, 3, 4, 5 How can i do it with Regex? Thank you |
|
|
|
|||
|
Re: Add white space using RegEx
\s ?
|
|
||||
|
Re: Add white space using RegEx
If you know it will be as simple as that you have a couple of options. You can use Split to split on the commas.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ie6 white space under div | AndrewChip | Web Page Design | 1 | Jun 11th, 2008 13:15 |
| Big white space | mikemay123 | Web Page Design | 5 | Nov 6th, 2007 00:30 |
| Removing white space from right & buttom | Cougar | Web Page Design | 12 | Nov 5th, 2007 19:45 |
| [SOLVED] white-space | mcdanielnc89 | Web Page Design | 5 | Oct 8th, 2007 16:48 |
| white space at top of page | mdb01 | Web Page Design | 2 | Nov 26th, 2006 21:39 |