e2o~
Here's a regular expression that should work for you if you put in
your BBEdit Find dialog window:
(((\d{1,2})|(1\d{2})|(2[0-4]\d)|(25[0-5]))\.){3}((\d{1,2})|(1\d{2})|
(2[0-4]\d)|(25[0-5]))
With that loaded in your Find dialog window, you could then press
Command-G to go to the next instance of an IP address that may be
present below your current cursor location.
HTH!
On Oct 08, 2008, at 7:03 AM, e2o wrote:
>
> Hello,
>
> I am constantly copying IP addresses out of BBEdit documents which
> contain notes for the numerous networks I manage. Selecting addresses
> is tiresome, especially for one who hates to remove hands from
> keyboard to drag-select with the mouse. Can anyone think of a quick
> way to select an IP address - something akin to double-clicking a word
> to select it? An applescript (or similar) assigned to a keyboard
> shortcut would do nicely.
>
> the addresses are in the format: ###.###.###.###, but any of the four
> sets of numbers can have one to three digits, i.e. they could look
> like:
> 10.0.10.10 or 192.168.23.123, or 172.16.1.1, etc.
>
> Thanks for any help!
>
> - e
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or
confirmed) problem with the software, please email to "[EMAIL PROTECTED]"
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---