---
# System prepended metadata

title: DCWS invalid scan
tags: [skd]

---

###### tags: `skd`

# DCWS invalid scan

Output format. 

> Barcode data having 28 characters, expected characters 39 characters - 6 spaces between Red characters, One space between Green Characters and 5 spaces at the end

> Input format regex:  `^(\w{16})(\w{4})\s+(\w{4})\s+(\w{2})\s*$`
> Output format regex:  `^\w{16}\s{6}\w{4}\s\w{4}\s\w{2}\s{5}`

* [FFTB102020224524 output format check check](https://regex101.com/r/VOkmoX/1/)

| VIN | Serial 1 / Serial 2      | transformed & submitted to DCWS  |
| -------- | -------- | -------- | ------ |
| MS5LKNF80MM000007   | FFTB102020224524    <br> JB3R 7003 SA      | <pre><code>"FFTB102020224524      JB3R 7003 SA     "</code></pre>   |
| MS5LKNF80MM000012     | FFTB102020225039   <br> JB3R 7003 SA     | <pre><code>"FFTB102020224524      JB3R 7003 SA     "</code></pre>
|
