mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
- remove en_US postfix - remove translated files (translation were moved to ts files earlier) - remove unused jQuery (python help doesn't use it anymore) - change expression label in QgsQueryBuilder and add context help (partly fixes #8129)
16 lines
809 B
Plaintext
16 lines
809 B
Plaintext
<h3>regexp_replace() function</h3>
|
|
Returns a string with the supplied regular expression replaced.
|
|
|
|
<p><h4>Syntax</h4>
|
|
regexp_replace(<i>string,regex,after</i>)</p>
|
|
|
|
<p><h4>Arguments</h4>
|
|
<!-- List args for functions here-->
|
|
<i> string</i> → is string. The start string.<br>
|
|
<i> regex</i> → is string. The regular expression to replace. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
|
|
<i> after</i> → is string. The string that will replace any matching occurences of the supplied regular expression. Captured groups can be inserted into the replacement string using \\1, \\2, etc. <br></p>
|
|
|
|
<p><h4>Example</h4>
|
|
<!-- Show example of function.-->
|
|
regexp_replace('QGIS SHOULD ROCK','\\sSHOULD\\s',' DOES ') → 'QGIS DOES ROCK'</p>
|