#include <MsgBoxConstants.au3> ; to declare the Constants of MsgBox
Local $sRegex = "\P{Hebrew}"
Local $sString = "h1: הללו את יהוה כל גוים שבחוהו כל האמים " & @CRLF & _
"r1: Praise the LORD, all nations! Extol him, all peoples!" & @CRLF & _
"g1: Αλληλουια. Αἰνεῖτε τὸν κύριον, πάντα τὰ ἔθνη, ἐπαινέσατε αὐτόν, πάντες οἱ λαοί," & @CRLF & _
"b1: Alleluia. Praise the Lord all you nations: praise him all you peoples."
Local $sSubst = ""
Local $sResult = StringRegExpReplace($sString, $sRegex, $sSubst)
MsgBox($MB_SYSTEMMODAL, "Result", $sResult)
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm