Im trying to use regexp to get whatever's behind the # in my string "12344dfdfsss#isa", in this case I wanna get the 'isa' out of the string.
I found these answers (http://stackoverflow.com/questions/578821/how-to-remove-a-small-part-of-the-string-in-the-big-string-using-regexp) ...
I am using Google Translate to translate the contents of a textarea and fill another textarea with the API response.
In my source textarea I am replacing the /n newlines with <br ...
How can I apply this trim function: var trimmed = str.replace(/^\s+|\s+$/g, '') ; to this code below so that if a textbox contains whitespaces, it will display message "Incorrect"? Also ...