# in rare cases with no spaces: ... $text =~ s/(?!\s)(<maths>)/ $1/g; ... [download]
In reply to Re^3: Regular Expression Doubt by sh1tn in thread Regular Expression Doubt by Anonymous Monk