24 lines
1007 B
Smarty
24 lines
1007 B
Smarty
{l s='Regular expressions allow you to edit the text of the specified criteria and change it to another one. This feature extends the capabilities of the "find/replace" tool.' mod='pshowimporter'}\
|
|
<br>\
|
|
<br>\
|
|
<u>{l s='For example in the file you have value: abcd-0123' mod='pshowimporter'}</u>\
|
|
<br>\
|
|
<strong>{l s='Example 1' mod='pshowimporter'}:</strong>\
|
|
<br>\
|
|
{l s='You can swap text and numbers - how to do this' mod='pshowimporter'}:\
|
|
<br>\
|
|
{l s='In the "find" field enter: ~([a-d]+)-([0-3]+)~' mod='pshowimporter'}\
|
|
<br>\
|
|
{l s='In the "replace" field enter: $2-$1' mod='pshowimporter'}\
|
|
<br>\
|
|
{l s='As result you get: 0123-abcd' mod='pshowimporter'}\
|
|
<br>\
|
|
<strong>{l s='Example 2' mod='pshowimporter'}:</strong>\
|
|
<br>\
|
|
{l s='You can get only numbers - how to do this' mod='pshowimporter'}:\
|
|
<br>\
|
|
{l s='In the "find" field enter: ~([a-d]+)-([0-3]+)~' mod='pshowimporter'}\
|
|
<br>\
|
|
{l s='In the "replace" field enter: $2' mod='pshowimporter'}\
|
|
<br>\
|
|
{l s='As result you get: 0123' mod='pshowimporter'} |