Skip to main content
Nintex Community Menu Bar

K2 smartforms Expression Builder using the character "[" breaks the replace operator

  • February 9, 2016
  • 0 replies
  • 47 views

Forum|alt.badge.img+5


 

Symptoms


K2 smartforms Expression Builder using the character "[" breaks the replace operator
 

Diagnoses


Hey Support

My initial thinking was to inject some regex into a literal control to be able to return a substring from a string.

Example, I have the following value "[Michelle]" and I would like it to extract the substring "Michelle."

If I use the following expression: Replace ([Variable], '[', 'empty string') then the expression never fires.

I have had three people replicate it. The open square bracket does not work and breaks the expression.
 

Resolution


Bug has been logged - K2 smartforms Expression Builder using the character "[" breaks the replace operator
Feature has been logged - Allow RegEx to be used for purposes other than just Validation