[#BloombergLP-bdlpcre-RegEx-replace-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::replace :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, writing into a `std::pmr::string`. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int replace( std::pmr::string* result, int* errorOffset, std::string_view const& subject, std::string_view const& replacement, size_t options = 0) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#