[TextMate] RegExp question

José Campos jose.campos+tm at galacsys.com
Sat Oct 16 12:59:22 UTC 2004


Jeroen <jeroen at je-ju.net> wrote:

> Hi,

    Hi
> 
> I'm having a bit of a trouble to match a '.' which is part of a string
> surrounded by " ".
> I've tried: (?=\".*)\.(?=.*\".*$), but this doesn't seem to work.
> 
> Can anyone please help out?

       Find : "(.*)?\.(.*)?"
    Replace : first name: $1 ; second name: $2

    will change : 
        "jo.bar" 
    to : 
        first name: jo ; second name: bar

 But imho, there must be even easier way to do it,

-- 
  Jo                                         <W:00°04'37" ; N:47°15'36">

1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72



More information about the textmate mailing list