I have a string like this below:
var st = "ROAM-Synergy-111-222-LLX "
It can have any no. of terms before the numeric values ..ie. its possible formats are:
var st = "SSI-ROAM-Synergy-111-222-LLX " or
var st = "LCD-SSI-ROAM-Synergy-111-222-LLX" etc..
Now I need to fetch only the terms before numeric values in this string. ie. "SSI-ROAM-Synergy" or "LCD-SSI-ROAM-Synergy"
I am using like this:
var finalString = st.split("-");
but how to get only the terms before numeric values.