<?php

$string = 'Mountain guesthouse (23.40m) in Radons';

preg_match('#([0-9\.]+)m#is', $string, $matches);

$peak = $matches[1];

echo $peak . 'm'; # 2.340m

?>

