I have a list of points as strings in the form
{"A1=(345.2345,3423.1)","B=(2123,97.123)","KX=(2144.546,-4455)"}
and I would like to extract the names using RegularExpression. For a single point I tried
StringCases["A1=(345.2345,3423.1)", RegularExpression["^.+\\="]]
but the output is
{"A1="}
How can I extract only the name (everything that is on the left of "=" at the beginning of the string) without the character "=" itself?
StringCases[lst, RegularExpression["(^.+)[=]"]:>"$1"]
where 'lst=your_list
$\endgroup$StringSplit[lst, "="][[All,1]]
orStringSplit[lst, RegularExpression["="]][[All,1]]
$\endgroup$