regex_replace usage
Options
dorian
Member ✭
I am trying to mask the first 5 numbers in a string in an API response. There may be non-number characters in this string too. I figure using the regex_replace filter is the correct approach? But can't figure out how to apply it in the UI. Chat GPT tells me that this regex will work - (?<=\D|^)\d{5} - but there are two fields in the UI - how do I set this up properly please? See Loom for further explanation.
Thanks.
Best Answer
-
Found my answer here and got it working.
https://docs.xano.com/working-with-data/data-type-filters/text-filter#regex_replace
Answers
-
Great! Thanks for sharing :)
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback