Eule2000
Eule2000

Reputation: 29

Find/Remove (keep only Numbers)

Have a text file with

123.234.531.123.5363
Text : some words here... 
Words : awesome//great+++
Rate : 2,231

131.53234.2414.5345.634
Text : some words here... 
Words : painfull//sad
Rate : 182,21

Now I need only the long numbers:

123.234.531.123.5363
131.53234.2414.5345.634

What I should use as find/replace?

edit: My problem solved with ^\D.*$

Upvotes: 0

Views: 3153

Answers (2)

rabusmar
rabusmar

Reputation: 4143

If what you need is the regex for the search, this might work:

\d+\.[.\d]+

Upvotes: 1

Ihor Shubin
Ihor Shubin

Reputation: 10726

If you use OS Windows, you can use regular expression in Notepad++ http://markantoniou.blogspot.com/2008/06/notepad-how-to-use-regular-expressions.html

enter image description here

Upvotes: 0

Related Questions