Hope someone can help on this one!
What I have is lines of text in a richtextbox which look like this:
N1G01 F10 X0.5 Y0.0625
N2 Z0.02 F10
N3 Z-0.04 F1
N4 Y1.9375 F2.5
N5 X0.4 F5
N6 Y0.0625
N7 X0.6
What I need to do is find and replace the number right after the X. My problem has been that the number right after the X is not always the same length. Does anyone have an answer for this?
Thank You
Capcom
What I have is lines of text in a richtextbox which look like this:
N1G01 F10 X0.5 Y0.0625
N2 Z0.02 F10
N3 Z-0.04 F1
N4 Y1.9375 F2.5
N5 X0.4 F5
N6 Y0.0625
N7 X0.6
What I need to do is find and replace the number right after the X. My problem has been that the number right after the X is not always the same length. Does anyone have an answer for this?
Thank You
Capcom