www.un.org/spanish/ecosoc Try this (work for positive integer only):
<>http://europa-eu>
(?<=[0-9])(?=(?:[0-9]{3})+(?![0-9]))
<>Replace with
,
I ve not tried over vim
whether it would work or not. But the pattern is PCRE compatible.
<>Explanation>
<!--
(?<=[0-9])(?=(?:[0-9]{3})+(?![0-9]))
Options: case insensitive; ^ and $ match at line breaks
Assert that the regex below can be matched, with the match ending at this position (positive lookbehind) «(?<=[0-9])»
Match a single character in the range between “0” and “9” «[0-9]»
Assert that the regex below can be matched, starting at this position (positive lookahead) «(?=(?:[0-9]{3})+(?![0-9]))»
Match the regular expression below «(?:[0-9]{3})+»
Between one and unlimited times, as many times as possible, giving back as needed (greedy) «+»
Match a single character in the range between “0” and “9” «[0-9]{3}»
Exactly 3 times «{3}»
Assert that it is impossible to match the regex below starting at this position (negative lookahead) «(?![0-9])»
Match a single character in the range between “0” and “9” «[0-9]»
-->