diff --git a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js b/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js
index 3e95c4cf1f..ed12787a52 100644
--- a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js
+++ b/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js
@@ -8,7 +8,7 @@
*/
module.exports = function fixInternalDocumentLinks() {
- var INTERNAL_LINK = /(]*href=")(#[^"]*)/gm;
+ var INTERNAL_LINK = /(]*href=")(#[^"]*)/g;
return {
$runAfter: ['inlineTagProcessor'],