Ad Widget

Collapse

RegExp for Item Protitype name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KuatZA7
    Junior Member
    • Feb 2020
    • 2

    #1

    RegExp for Item Protitype name

    Hello, I have a template with discovery rule, and item prototype in this rule
    So i use macros in item prototype name, which send me a name like: "ItemName", but i need to receive it without ""
    My question: What regular expression should be used for this?
    Thank for all in advance!
  • KuatZA7
    Junior Member
    • Feb 2020
    • 2

    #2
    Click image for larger version  Name:	itemprot.jpg Views:	0 Size:	41.6 KB ID:	395300
    Click image for larger version  Name:	itemprotex.jpg Views:	0 Size:	33.3 KB ID:	395301

    Now It working like this
    But i need Name: State of service klactprx (Service Name of Service)

    Comment

    • merle1379
      Junior Member
      • Mar 2020
      • 3

      #3
      Originally posted by KuatZA7
      Click image for larger version Name:	itemprot.jpg Views:	0 Size:	41.6 KB ID:	395300
      Click image for larger version Name:	itemprotex.jpg Views:	0 Size:	33.3 KB ID:	395301

      Now It working like this
      But i need Name: State of service klactprx (Service Name of Service)
      In the event that you have to expel a few characters from the beginig and from the finish of string go into "Preprocessing" tab and include "Trim" work.

      You can likewise utilize other preprocessing capacities, as Javascript on the off chance.

      Comment

      Working...