To find out if there are extra '.' like you are asking for, you can do this:
result = "$1...00".match(/\$1\.(\.*)?00/)[1];
result
is then the EXTRA '.'s found. You cannot use regex to compare strings using only regex. Perhaps use this, then compare the results.
You can also try this:
result = "$1...00".match(/(\$)(\d+)\.(\.*)?(\d+)/);
// Outputs: ["$1...00", "$", "1", "..", "00"]
Which will extract the various parts to compare.