[TextMate] search and replace help needed OT
Jarkko Laine
jarkko at jlaine.net
Thu Oct 14 05:37:04 UTC 2004
1. Move the pointer to the beginning of the file and click command-f to
find/replace.
2. Put this in the find field: \d+:\s+:\s+\.\w+\s\((\w+)\)
3. ...and this in the replace field: $1
4. Check that Regular expression is checked
5. Click Replace all
The regexp above isn't too anal about the format of your line. You can
finetune it if you think it could match something it shouldn't.
HTH,
Jarkko
On 14.10.2004, at 04:39, allan at ghostgum.com wrote:
> 252: : .fj (Fiji)
> 127: : .bm (Bermuda)
> 190: : .gn (Guinea)
>
--
Jarkko Laine
http://jlaine.net
More information about the textmate
mailing list