$string =~ s/([^\s](30))/$1\s/g; [download]
In reply to How do I insert a space after 30+ consecutive non-space characters? by tipthepizzaguy