# Barcode Scanner Input in Perspective View

**URL:** <https://forum.inductiveautomation.com/t/barcode-scanner-input-in-perspective-view/58067>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 5, 2022, 7:41pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-in-perspective-view/58067 "2022-04-05T19:41:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franklepkowski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/franklepkowski/32/4808_2.png) [@franklepkowski](https://forum.inductiveautomation.com/u/franklepkowski)\
**Post date:** [April 5, 2022, 7:41pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-in-perspective-view/58067/1 "2022-04-05T19:41:46Z")

</div>

Hello,

Does anyone have any experience with this control? If I set the prefix and suffix to say @ and @ and then type @test@ I get test inside the control. How do I implement the regex functionality? I can not find much of any documentation for this. Is the regex option used in conjunction with suffix and prefix or as an alternative to?

Thanks,

Frank

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 6, 2022, 12:33am UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-in-perspective-view/58067/2 "2022-04-06T00:33:30Z")

</div>

Documentation here:  
[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Barcode+Scanner+Input](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Barcode+Scanner+Input)

> Regex describing format of scans. The first capture will be used as barcode. If either a prefix or suffix value is specified with a non-empty string, then this property will be ignored.

Hope that helps!
