Regular expressions are used to find patterns in a string. What you do with the matches are language specific.
The regular expression pattern to find three numbers is pretty simple: /\d{3}/
Apply that expression to your specific language to retrieve the matches and build your desired output string:
Perl, using split and then join:
$string = "120000000000"
$new_string = join('_', (split /\d{3}/, $string))
# value of $new_string is: 120_000_000_000
PHP, using split and then join:
$string = "120000000000"
$new_string = implode ("_", preg_split("/\d{3}/", $string))
# value of $new_string is: 120_000_000_000
VB, using split and then join:
Dim MyString As String = "120000000000"
Dim new_string As String = String.Join(Regex.Split(MyString, "\d{3}"), "_")
'new_string value is: 120_000_000_000