hello all,
I am very new to perl usage and need help to split punctuation like comma, space and ampersand in a same sentence. For eg: sentence like: "earth, wind & fire". The final result which I need in an array sould contain elements like(I mean words after splitting): "earth",",","wind","&", and "fire".
If I split spaces using split function then, I am not getting the result as stated above.
help me.
thanks.