Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
Can implement this substitution with an operation with a regex?
Created:
Oct 15, 2024 12:12 AM
| Last Modified: Oct 15, 2024 7:06 AM(6059 views)
For example, this file is a txt file.TAB spacing: Column 2 contains, column 2 contains The maximum number of rows is 5 Can you use regular substitution to replace rows with less than 5 such symbols to complete the cell with a total of 5 similar symbols? Make up as shown in the figure.
Forcing yourself to use regex is in my opinion a bad idea. In this case you could for example loop line by line, replace ~ and triangles with "" on columns two and three, check how many were replaced and then add them to the end of correct "columns".