Javascript: Remove Spaces

<script type="text/javascript">
function removeSpaces(){
var txt=document.getElementById("t1").value;


var someText = txt.replace(/(\r\n|\n|\r)/gm," ");
someText = someText.replace(/\s+/g," ");
document.getElementById("t2").value=someText;
}

</script>

C# Numeric Test Field Validation

Class Validation{

public boolean IsNumeric(String v) {
  return v.ToCharArray().Where(x => !Char.IsDigit(x)).Count() == 0;
}
}

Running Drupal in Docker

I will assume that you have already installed docker. If you haven't installed docker please visit https://www.docker.com/ to download a...