how to capture with regex everything but spaces
For example I have Hello Word
What regex to use to output HelloWord
(I'm using Regex and php) Best regards
how to capture with regex everything but spaces
For example I have Hello Word
What regex to use to output HelloWord
(I'm using Regex and php) Best regards
<?php
$string = "Hello Word";
$string = preg_replace('/ /', '', $string);
echo $string;
//HelloWord
?>