When i need to validate user input in fields it is often necessary to make sure only a limited set of characters is used.
Example could be European VAT Numbers, Phone, Container ID Code ...
The current REGEXP_SUBSTR Function is not able to match several accurencase of a given pattern in one go.
Oracle also has a implementation of it http://download.oracle.com/docs/...
See this Question to see more reasons to implement REGEXP_REPLACE
asked 26 Jan '10, 12:09
This is another one of those features that we have discussed within the engineering team on several occassions. I too have had many times that I've wanted to do be able to find a pattern within a string and replace it with a different one. But alas, regular expressions are complicated not only to understand and use but to implement and perform well. As such, this feature is already on the list of possible enhancements to be put into a future release.
answered 26 Jan '10, 12:45