What is the necessary regular expression to match the € special character from the following html string?
€20.000.000,00
Ultimately, I want to strip the € symbol from the number. Currently, my code looks like this:
num = $("#number").html();
num.replace('€','');
$("number").html(num)
but of course I need to replace '€' with the correct regex.
replace()works with a regular string as well, so it should work./\&euro\;/should work as RegEx, haven't test it though so try it out/\&euro\;/doesn't work.