I am exporting some tables DBF
through CSV
libreoffice. This in the headers, it exports the name of the header plus characters that refer to the data type and length for example, the NNUMALB column , it exports it to me as NNUMALB,N,7,0 and I want to do a massive replacement that eliminates me everything from the first comma. Can you give me a cable? Thank you very much.
This, replace regular expression
,.*
with '' (nothing)it worked for me
The expression selects all characters beginning with "," and replaces them with an empty character. "." denotes any character and "*" is the quantifier "everything that follows from here on out"