rahrahruby
rahrahruby

Reputation: 693

notepad ++ regex help

I want to find the following pattern in notepad ++

Ping statistics for 192.168(regex to capture everything after the last character)

Upvotes: 0

Views: 180

Answers (1)

Jan Sverre
Jan Sverre

Reputation: 4723

^192.168.[\d]+.[\d]+$

Not perfect, but it should be enough for your case. It accepts 192.168.21314.1252151

Edit:

^192\.168\.[\d]+\.[\d]+$

To avoid matching 1920168012937

Upvotes: 2

Related Questions