Question3Replies234Views Kathirk6 Member since 2018 1 post ATOS Origin India PVT Ltd Posted: March 3, 2020Last activity: March 3, 2020 Truncating the Leading Zeros of the text property in UIHello,In Our Application, we have property (Text) to be displayed in UI without leading Zeros of its value.We have tried with some controls but its not working as this property is not an integer. eg: We have tried with FormatDecimal - control, but its not working for alphanumeric values.So could anyone please check and revert with any control or solution for this. Property Value:000000120430123000 ----------> 120430123000B5F23654970001 ----------> B5F23654970001 Pega Platform 8.1.4 Low-Code App Development Admin Studio ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 8 months agoBhavya_Incessant Incessant Technologies replied to Kathirk6HiCan you write a function as below:pxReplaceAllViaRegex(<Property> , "^0+" ,"")The regex will remove the leading zeros and return the string. Hope it helps. RegardsBhavya Posted: 8 months agoUpdated: 8 months agoRINCYRAPPAI_GCS PEGA replied to Kathirk6Hello Karthirk, Have you tried built-in trim function under String?Refer attached screenshot from Pega 7.3.1. Posted: 8 months agoRachit_Agarwal PEGA replied to Kathirk6You can use an Edit Input rule in the Property rule and call a function to remove the trailing zeros.