diff --git a/bin/release-check/find-latest-releases.sh b/bin/release-check/find-latest-releases.sh
index 975934b..bcba7ee 100755
--- a/bin/release-check/find-latest-releases.sh
+++ b/bin/release-check/find-latest-releases.sh
@@ -32,7 +32,7 @@ pac_search_query="https://packages.atlassian.com/maven/${GROUP}/${ARTIFACT}/mave
search_response=$(curl -s "${pac_search_query}")
# PARSE RESPONSE AND GET AN ARRAY OF VERSIONS THAT CONTAIN ONLY NUMBERS (EXCLUDES SNAPSHOTS AND MILESTONE RELEASES)
-latest_releases=$(echo "$search_response" | grep -oE '[0-9][0-9]?\.[0-9]+\.[0-9]+' | grep -oE '[0-9]\.[0-9]+\.[0-9]+')
+latest_releases=$(echo "$search_response" | grep -oE '[0-9][0-9]?\.[0-9]+\.[0-9]+' | grep -oE '[0-9][0-9]?\.[0-9]+\.[0-9]+')
echo "$latest_releases"
diff --git a/bin/release-check/run-product-release-check.sh b/bin/release-check/run-product-release-check.sh
index ab080ec..2d68e79 100755
--- a/bin/release-check/run-product-release-check.sh
+++ b/bin/release-check/run-product-release-check.sh
@@ -14,10 +14,10 @@ fi
case $PRODUCT in
jira)
- version_regex="[0-9]\\.[0-9]+\\.[0-9]+"
+ version_regex="^[0-9]\\.[0-9]+\\.[0-9]+$"
;;
confluence|bitbucket)
- version_regex="[0-8]\\.[0-9]+\\.[0-9]+"
+ version_regex="^[0-8]\\.[0-9]+\\.[0-9]+$"
;;
*)
echo "Invalid product"