;looking for an expression "some"
%RxFind("text some text", "some") ;returns 6
;looking for an expression "some" at the beginning
%RxFind("text some text", "^some") ;returns 0 - expression "some" is not at the beginning
;looking for an expression "text" at the beginning
%RxFind("text some text", "^text") ;returns 1 - expression "text" is at the beginning
;looking for an expression "text" at the end
%RxFind("text some text", "text$") ;returns 13 - expression "text" is at the end (starts at the position of 13)
;looking for an expression "xt" or an expression "so"
%RxFind("text some text", "xt | so") ;returns 3 - expression "xt" was found first and starts at the position of 3
;looking for an expression "some" at the beginning or the expression "text" at the end
%RxFind("text some text", "^some| text$") ;returns 12 - the entered string ends with an expression "text" and starts at the position of 12
;looking for a character in range "a-d"
%RxFind("text some text", "[a-d]") ;returns 9 - character 'a' is located on that position
;looking for a character out of range "a-d"
%RxFind("text some text", "[^a-d]") ;returns 1 - character 'a' is located on that position
;looking for 'e' character sequence 2 times in a row
%RxFind("text some text", "e{2}") ;returns 7
;looking for an expression "otá.zka", ("." means one occurrence of any character)
%RxFind("Jedna otázka alebo otázočka", "otá.ka") ;returns 7 - matching expression starts at this position
;looking for an expression "otá.*zka", (".*" means 0 or more occurrences of any character), while the entered string is searched from the position of 10
%RxFind("Jedna otázka alebo otázočka", "otá.*ka", 10, _last) ;returns 20 - matching expression starts at this position, parameter _last = 27
;looking for an expression "otá.+zka", (".+" means 1 or more occurrences of any character), while the entered string is searched from the position of 10
%RxFind("Jedna otázka alebo otázočka", "otá.+ka", 10, _last) ;returns 0 - no expression matches, _last = 0