Not clear about % of what values? is that value of input port? just in case implementing in expression transformation then you can use Query in SQ Trans.
The % is the matching within a string. So if a string is '12345asdf' 10% of this string should match the regex (<500).....
Do you think that this is feasable?
Is there any other ways to do this ( percentage) without regex? Like create a rule that restricts the range of a number (<500), then another way to restrict the data generated by percentage...
I appreciate your response!
I would say refer available functions in Informatica language reference.
There would be ways but need to dedicate some time to think.
with all due respect: your sample is not understandable to me.
If you would have written, you need 10% of all generated numbers to be <500, 40% of all generated numbers to be in range 500-2499, and 50% of all numbers >= 2500, then things were easy.
But what do you mean by "10% of the string should be <500"?
Please provide a concrete and complete example of what you need.