Jump to content

Regular expressions: Difference between revisions

+ AutoHotkey
m (→‎{{header|Ruby}}: use lang tag)
(+ AutoHotkey)
Line 67:
Gives 101 dogs
</pre>
=={{header|AutoHotkey}}==
<lang AutoHotkey>
msgbox % FoundPos := RegExMatch("Hello World", "World$")
msgbox % replaced := RegExReplace("Hello World", "World$", "yourself")
</lang>
 
=={{header|AWK}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.