in reply to Re^2: regex: help for improvement
in thread regex: help for improvement

Do you want to replace any sequence of non-letters by a space?
$str =~ s/\P{isLetter}+/ /g;

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: regex: help for improvement
by frazap (Monk) on Dec 14, 2018 at 15:25 UTC
    Yes, I think that the way to go !

    Thanks

    F.