mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
15 lines
570 B
Plaintext
15 lines
570 B
Plaintext
<h3>regexp_substr() function</h3>
|
|
Returns the portion of a string which matches a supplied regular expression.
|
|
|
|
<p><h4>Syntax</h4>
|
|
regexp_substr(<i>string,regex</i>)</p>
|
|
|
|
<p><h4>Arguments</h4>
|
|
<!-- List args for functions here-->
|
|
<i> string</i> → is string. The input string.<br>
|
|
<i> regex</i> → is string. The regular expression to match against. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
|
|
|
|
<p><h4>Example</h4>
|
|
<!-- Show example of function.-->
|
|
regexp_substr('abc123','(\\d+)') → '123'</p>
|