JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
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(3379 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".