Regular expressions: Difference between revisions
Content added Content deleted
m (→{{header|Ruby}}: use lang tag) |
(+ AutoHotkey) |
||
Line 67: | Line 67: | ||
Gives 101 dogs |
Gives 101 dogs |
||
</pre> |
</pre> |
||
=={{header|AutoHotkey}}== |
|||
<lang AutoHotkey> |
|||
msgbox % FoundPos := RegExMatch("Hello World", "World$") |
|||
msgbox % replaced := RegExReplace("Hello World", "World$", "yourself") |
|||
</lang> |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |