With this method you can replace a string or a part of it using Regular Expression as pattern matching. Rules are almost the same as the sed command or the vi editor. Only, it does not have sense use the "^" operator with the replace_all set to TRUE.
Pointer to a valid afc_regexp class.
Destination string where the result of substitution will be saved. This string MUST be an AFC afc_string_new.
Source string
afc_string_new defining the RE used as search pattern
afc_string_new containing the replace mask
Flag TRUE/FALSE. If TRUE the replacement will take place in all possible places of the string, if FALSE the replace will take place only once.