Sublime Forum

Remove excess numbers from the end

#1

Is there a way to help me remove these excess numbers from the end, highlighted in the red box? I have over 400 lines, and would prefer not to do them manually. I just need the first four “x.xxx”

remove%20the%20excess%20numbers

0 Likes

#2

You can use the Find & Replace panel to do it. Open the panel using Find -> Replace ... from the main menu. Then

  1. In the Find input, enter Float: (\d\.\d{3})(\d*)
  2. In the Replace input, enter Float: $1

Click Replace All.

2 Likes

#3

That worked. Thanks a lot!

0 Likes