What I’m trying to achieve is to extract data from a string, stored in a variable, using regex.
What is important here is that it doesn’t work when I store the variable using “copy from clipboard” from the unix console. It does store the value in the variable but then we I apply a regex using a “assign” activity the outcome value is null.
The steps taken go like this:
1- In a Unix console I “copy all to clipboard” using Putty (Unix), it copies all the text from the screen.
2- I use the “Get from clipboard” activity to store the clipboard into a variable (CDR)
Could you also maybe check with the below Regex Expression once, we are just trying to check if the first part could be recognised correctly and then we can work on the Limiter.
(?<=categoryTax:).*
Also, Maybe try using the Expression in the Debug Panel and check it there or directly execute the Expression in a Message Box and check, as we also see that the two variables have different scopes CDR & CategoryTax.
Well, it seems that worked !
Thanks a lot @supermanPunch !!
Where should I learn these things? I checked the documentation available but haven’t found anything.
Are you aware that there are Terminal activities that are intended for use with mainframe systems, that you should be using rather than things like copy/paste?