I need help with regex. I’m using Dreamweaver to do so text editing. I need to put quotation marks around each number and separate them by commas. (I’m doing this in order to put the values in my database. In Dreamweaver’s Find it’s possible to use regexp.
I need a regex that finds each number. For example I have the series:
2010 310 309 99.68% 33.98% 44.98%
How do I grab 2010, 301, 309, 99.68%, etc.? They are tab delimited and some are space delimited. How do I grab a number surrounded by whitespace?
Thank you.
-Laxmidi
I’ve looked briefly at Dreamweaver’s tutorial, it seems like you can:
Search for:
And replace with:
NOTE: This will create a trailing comma.