Perl question regarding regular expressions

Status
Not open for further replies.

goosecool

Junior Member level 3
Joined
Jul 29, 2005
Messages
28
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,484
Hi all,

I am not sure if Perl is included under PC programming languages section. Anyways I have a question regarding regular expressions. I have a file with SQL insert statements. Some of the statements have three commas in a row like ,,, and I want to use regular expressions to substitute every occurance of ,,, with
,' ',' ',' ',

Any idea how to go about it?

Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…