I have a JSP page, which accepts user strings in more than 23 languages. So an English speaking user writes 8.5
, and the JavaScript function should accept it as well as the input 8,5
from a Russian user.
In this scenario, how do we validate the input in JavaScript for all the languages?