- Jan
- 21
- 0
Appreciate any help with getting @REGEX to work with @REPLACE.
I have a large file and I want to convert all whitespace to commas
I can use set bb=%@replace[^ ,^,,%bb]
gets rid of the biggest problem but there are lots of other spaces so I need to integrate regex with a replace.
echo set vt %@REGEX[[ \t]+|[ \t], %bb]
returns '1' but thats pretty useless information.
I can do this with RegexBuddy but hoped to discover a method of using regex in TCC.
I have a large file and I want to convert all whitespace to commas
I can use set bb=%@replace[^ ,^,,%bb]
gets rid of the biggest problem but there are lots of other spaces so I need to integrate regex with a replace.
echo set vt %@REGEX[[ \t]+|[ \t], %bb]
returns '1' but thats pretty useless information.
I can do this with RegexBuddy but hoped to discover a method of using regex in TCC.