Support & Learning
Mobility and High Productivity App Dev
Data Connectivity and Integration
Web Content Management
Get A Free Trial
close mobile menu
Extensions and Customization
Problems using regular expression with capturing and non-capturing groups
Feed for this thread
1 posts, 0 answers
Posted 19 Feb 2016
Link to this post
I was having problems to replace some strings in the response. To look for the pattern I have using a regular expression, but I only want to replace one part of the expression. I was trying to define capturing groups with () and non- capturing groups with (?:). I have tested in some webs about regular expression and it works, but in fiddler doesn´t.
For example. I have this code:
oBody = oBody.replace(oRegEX, "xxxxxx");
I look for expressions like
but I only want to replace the word NOIA like this
It has to be replaced the string NOIA but it replaces all value the string .
Could you help me??
Back to Top