Hi James
How did you set the wildcard on TextWrangler? What do you set it to look for, or exclude?
Thanks!
Zoe
Hi Zoe, Sorry I've not been back here in a little while! However, if it's still of use to you, I do two Grep find and replace searches in Textwrangler.
The first is:
Find "(...)\.(...)" and replace with "\1\2" Without the speech marks.
Generally in a Grep search in Textwrangler, a "." is a wildcard for any single digit number. the "\." tells it that I'm looking for a point/period/full stop and not a random number. so the first argument basically tells it that I want it to find two sets of three digit numbers separated by a decimal point. the "\1\2" in the replace field means I want it to replace all the instances it fins in the search with the two sets of three digit numbers. "\1" being hte first set of three digit numbers it found, and "\2" being the second. this effectively just removes the decimal points from the frequencies! Using the replace all option does them all in one fell swoop.
The second is:
Find "," and replace with ";;" Again, without the speech marks.
This isn't actually a Grep search, but it doesn't matter if it's still in Grep search mode. it won't affect the result. This just replaces all the commas with two sets of semi-colons.
I hope that helps!