M
M
MaximDjanger2018-02-20 17:06:59
JavaScript
MaximDjanger, 2018-02-20 17:06:59

How to remove a *number from a string?

When receiving the result of the function, a string is obtained

"
              CARK3U SC 							 × 2													"

I remove spaces with a regular expression, it turns out CARK3USC×2How to remove ×2 if there can be a random number instead of 2.
I write in JS

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-02-20
@MaximDjanger

abc.split("×")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question