Regular Expressions 101

Save & Share

  • Regex Version: ver. 1
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
gm

Test String

Substitution

Processing...

Code Generator

Generated Code

#include <MsgBoxConstants.au3> ; to declare the Constants of MsgBox Local $sRegex = "(?m)(?<=public static final int ).+(?=;)" Local $sString = "/** Key code constant: Unknown key code. */" & @CRLF & _ " public static final int KEYCODE_UNKNOWN = 0;" & @CRLF & _ " /** Key code constant: Soft Left key." & @CRLF & _ " * Usually situated below the display on phones and used as a multi-function" & @CRLF & _ " * feature key for selecting a software defined function shown on the bottom left" & @CRLF & _ " * of the display. */" & @CRLF & _ " public static final int KEYCODE_SOFT_LEFT = 1;" & @CRLF & _ " /** Key code constant: Soft Right key." & @CRLF & _ " * Usually situated below the display on phones and used as a multi-function" & @CRLF & _ " * feature key for selecting a software defined function shown on the bottom right" & @CRLF & _ " * of the display. */" & @CRLF & _ " public static final int KEYCODE_SOFT_RIGHT = 2;" & @CRLF & _ " /** Key code constant: Home key." & @CRLF & _ " * This key is handled by the framework and is never delivered to applications. */" & @CRLF & _ " public static final int KEYCODE_HOME = 3;" & @CRLF & _ " /** Key code constant: Back key. */" & @CRLF & _ " public static final int KEYCODE_BACK = 4;" & @CRLF & _ " /** Key code constant: Call key. */" & @CRLF & _ " public static final int KEYCODE_CALL = 5;" & @CRLF & _ " /** Key code constant: End Call key. */" & @CRLF & _ " public static final int KEYCODE_ENDCALL = 6;" & @CRLF & _ " /** Key code constant: '0' key. */" & @CRLF & _ " public static final int KEYCODE_0 = 7;" & @CRLF & _ " /** Key code constant: '1' key. */" & @CRLF & _ " public static final int KEYCODE_1 = 8;" & @CRLF & _ " /** Key code constant: '2' key. */" & @CRLF & _ " public static final int KEYCODE_2 = 9;" & @CRLF & _ " /** Key code constant: '3' key. */" & @CRLF & _ " public static final int KEYCODE_3 = 10;" & @CRLF & _ " /** Key code constant: '4' key. */" & @CRLF & _ " public static final int KEYCODE_4 = 11;" & @CRLF & _ " /** Key code constant: '5' key. */" & @CRLF & _ " public static final int KEYCODE_5 = 12;" & @CRLF & _ " /** Key code constant: '6' key. */" & @CRLF & _ " public static final int KEYCODE_6 = 13;" & @CRLF & _ " /** Key code constant: '7' key. */" & @CRLF & _ " public static final int KEYCODE_7 = 14;" & @CRLF & _ " /** Key code constant: '8' key. */" & @CRLF & _ " public static final int KEYCODE_8 = 15;" & @CRLF & _ " /** Key code constant: '9' key. */" & @CRLF & _ " public static final int KEYCODE_9 = 16;" & @CRLF & _ " /** Key code constant: '*' key. */" & @CRLF & _ " public static final int KEYCODE_STAR = 17;" & @CRLF & _ " /** Key code constant: '#' key. */" & @CRLF & _ " public static final int KEYCODE_POUND = 18;" & @CRLF & _ " /** Key code constant: Directional Pad Up key." & @CRLF & _ " * May also be synthesized from trackball motions. */" & @CRLF & _ " public static final int KEYCODE_DPAD_UP = 19;" & @CRLF & _ " /** Key code constant: Directional Pad Down key." & @CRLF & _ " * May also be synthesized from trackball motions. */" & @CRLF & _ " public static final int KEYCODE_DPAD_DOWN = 20;" & @CRLF & _ " /** Key code constant: Directional Pad Left key." & @CRLF & _ " * May also be synthesized from trackball motions. */" & @CRLF & _ " public static final int KEYCODE_DPAD_LEFT = 21;" & @CRLF & _ " /** Key code constant: Directional Pad Right key." & @CRLF & _ " * May also be synthesized from trackball motions. */" & @CRLF & _ " public static final int KEYCODE_DPAD_RIGHT = 22;" & @CRLF & _ " /** Key code constant: Directional Pad Center key." & @CRLF & _ " * May also be synthesized from trackball motions. */" & @CRLF & _ " public static final int KEYCODE_DPAD_CENTER = 23;" & @CRLF & _ " /** Key code constant: Volume Up key." & @CRLF & _ " * Adjusts the speaker volume up. */" & @CRLF & _ " public static final int KEYCODE_VOLUME_UP = 24;" & @CRLF & _ " /** Key code constant: Volume Down key." & @CRLF & _ " * Adjusts the speaker volume down. */" & @CRLF & _ " public static final int KEYCODE_VOLUME_DOWN = 25;" & @CRLF & _ " /** Key code constant: Power key. */" & @CRLF & _ " public static final int KEYCODE_POWER = 26;" & @CRLF & _ " /** Key code constant: Camera key." & @CRLF & _ " * Used to launch a camera application or take pictures. */" & @CRLF & _ " public static final int KEYCODE_CAMERA = 27;" & @CRLF & _ " /** Key code constant: Clear key. */" & @CRLF & _ " public static final int KEYCODE_CLEAR = 28;" & @CRLF & _ " /** Key code constant: 'A' key. */" & @CRLF & _ " public static final int KEYCODE_A = 29;" & @CRLF & _ " /** Key code constant: 'B' key. */" & @CRLF & _ " public static final int KEYCODE_B = 30;" & @CRLF & _ " /** Key code constant: 'C' key. */" & @CRLF & _ " public static final int KEYCODE_C = 31;" & @CRLF & _ " /** Key code constant: 'D' key. */" & @CRLF & _ " public static final int KEYCODE_D = 32;" & @CRLF & _ " /** Key code constant: 'E' key. */" & @CRLF & _ " public static final int KEYCODE_E = 33;" & @CRLF & _ " /** Key code constant: 'F' key. */" & @CRLF & _ " public static final int KEYCODE_F = 34;" & @CRLF & _ " /** Key code constant: 'G' key. */" & @CRLF & _ " public static final int KEYCODE_G = 35;" & @CRLF & _ " /** Key code constant: 'H' key. */" & @CRLF & _ " public static final int KEYCODE_H = 36;" & @CRLF & _ " /** Key code constant: 'I' key. */" & @CRLF & _ " public static final int KEYCODE_I = 37;" & @CRLF & _ " /** Key code constant: 'J' key. */" & @CRLF & _ " public static final int KEYCODE_J = 38;" & @CRLF & _ " /** Key code constant: 'K' key. */" & @CRLF & _ " public static final int KEYCODE_K = 39;" & @CRLF & _ " /** Key code constant: 'L' key. */" & @CRLF & _ " public static final int KEYCODE_L = 40;" & @CRLF & _ " /** Key code constant: 'M' key. */" & @CRLF & _ " public static final int KEYCODE_M = 41;" & @CRLF & _ " /** Key code constant: 'N' key. */" & @CRLF & _ " public static final int KEYCODE_N = 42;" & @CRLF & _ " /** Key code constant: 'O' key. */" & @CRLF & _ " public static final int KEYCODE_O = 43;" & @CRLF & _ " /** Key code constant: 'P' key. */" & @CRLF & _ " public static final int KEYCODE_P = 44;" & @CRLF & _ " /** Key code constant: 'Q' key. */" & @CRLF & _ " public static final int KEYCODE_Q = 45;" & @CRLF & _ " /** Key code constant: 'R' key. */" & @CRLF & _ " public static final int KEYCODE_R = 46;" & @CRLF & _ " /** Key code constant: 'S' key. */" & @CRLF & _ " public static final int KEYCODE_S = 47;" & @CRLF & _ " /** Key code constant: 'T' key. */" & @CRLF & _ " public static final int KEYCODE_T = 48;" & @CRLF & _ " /** Key code constant: 'U' key. */" & @CRLF & _ " public static final int KEYCODE_U = 49;" & @CRLF & _ " /** Key code constant: 'V' key. */" & @CRLF & _ " public static final int KEYCODE_V = 50;" & @CRLF & _ " /** Key code constant: 'W' key. */" & @CRLF & _ " public static final int KEYCODE_W = 51;" & @CRLF & _ " /** Key code constant: 'X' key. */" & @CRLF & _ " public static final int KEYCODE_X = 52;" & @CRLF & _ " /** Key code constant: 'Y' key. */" & @CRLF & _ " public static final int KEYCODE_Y = 53;" & @CRLF & _ " /** Key code constant: 'Z' key. */" & @CRLF & _ " public static final int KEYCODE_Z = 54;" & @CRLF & _ " /** Key code constant: ',' key. */" & @CRLF & _ " public static final int KEYCODE_COMMA = 55;" & @CRLF & _ " /** Key code constant: '.' key. */" & @CRLF & _ " public static final int KEYCODE_PERIOD = 56;" & @CRLF & _ " /** Key code constant: Left Alt modifier key. */" & @CRLF & _ " public static final int KEYCODE_ALT_LEFT = 57;" & @CRLF & _ " /** Key code constant: Right Alt modifier key. */" & @CRLF & _ " public static final int KEYCODE_ALT_RIGHT = 58;" & @CRLF & _ " /** Key code constant: Left Shift modifier key. */" & @CRLF & _ " public static final int KEYCODE_SHIFT_LEFT = 59;" & @CRLF & _ " /** Key code constant: Right Shift modifier key. */" & @CRLF & _ " public static final int KEYCODE_SHIFT_RIGHT = 60;" & @CRLF & _ " /** Key code constant: Tab key. */" & @CRLF & _ " public static final int KEYCODE_TAB = 61;" & @CRLF & _ " /** Key code constant: Space key. */" & @CRLF & _ " public static final int KEYCODE_SPACE = 62;" & @CRLF & _ " /** Key code constant: Symbol modifier key." & @CRLF & _ " * Used to enter alternate symbols. */" & @CRLF & _ " public static final int KEYCODE_SYM = 63;" & @CRLF & _ " /** Key code constant: Explorer special function key." & @CRLF & _ " * Used to launch a browser application. */" & @CRLF & _ " public static final int KEYCODE_EXPLORER = 64;" & @CRLF & _ " /** Key code constant: Envelope special function key." & @CRLF & _ " * Used to launch a mail application. */" & @CRLF & _ " public static final int KEYCODE_ENVELOPE = 65;" & @CRLF & _ " /** Key code constant: Enter key. */" & @CRLF & _ " public static final int KEYCODE_ENTER = 66;" & @CRLF & _ " /** Key code constant: Backspace key." & @CRLF & _ " * Deletes characters before the insertion point, unlike {@link #KEYCODE_FORWARD_DEL}. */" & @CRLF & _ " public static final int KEYCODE_DEL = 67;" & @CRLF & _ " /** Key code constant: '`' (backtick) key. */" & @CRLF & _ " public static final int KEYCODE_GRAVE = 68;" & @CRLF & _ " /** Key code constant: '-'. */" & @CRLF & _ " public static final int KEYCODE_MINUS = 69;" & @CRLF & _ " /** Key code constant: '=' key. */" & @CRLF & _ " public static final int KEYCODE_EQUALS = 70;" & @CRLF & _ " /** Key code constant: '[' key. */" & @CRLF & _ " public static final int KEYCODE_LEFT_BRACKET = 71;" & @CRLF & _ " /** Key code constant: ']' key. */" & @CRLF & _ " public static final int KEYCODE_RIGHT_BRACKET = 72;" & @CRLF & _ " /** Key code constant: '\' key. */" & @CRLF & _ " public static final int KEYCODE_BACKSLASH = 73;" & @CRLF & _ " /** Key code constant: ';' key. */" & @CRLF & _ " public static final int KEYCODE_SEMICOLON = 74;" & @CRLF & _ " /** Key code constant: ''' (apostrophe) key. */" & @CRLF & _ " public static final int KEYCODE_APOSTROPHE = 75;" & @CRLF & _ " /** Key code constant: '/' key. */" & @CRLF & _ " public static final int KEYCODE_SLASH = 76;" & @CRLF & _ " /** Key code constant: '@' key. */" & @CRLF & _ " public static final int KEYCODE_AT = 77;" & @CRLF & _ " /** Key code constant: Number modifier key." & @CRLF & _ " * Used to enter numeric symbols." & @CRLF & _ " * This key is not Num Lock; it is more like {@link #KEYCODE_ALT_LEFT} and is" & @CRLF & _ " * interpreted as an ALT key by {@link android.text.method.MetaKeyKeyListener}. */" & @CRLF & _ " public static final int KEYCODE_NUM = 78;" & @CRLF & _ " /** Key code constant: Headset Hook key." & @CRLF & _ " * Used to hang up calls and stop media. */" & @CRLF & _ " public static final int KEYCODE_HEADSETHOOK = 79;" & @CRLF & _ " /** Key code constant: Camera Focus key." & @CRLF & _ " * Used to focus the camera. */" & @CRLF & _ " public static final int KEYCODE_FOCUS = 80; // *Camera* focus" & @CRLF & _ " /** Key code constant: '+' key. */" & @CRLF & _ " public static final int KEYCODE_PLUS = 81;" & @CRLF & _ " /** Key code constant: Menu key. */" & @CRLF & _ " public static final int KEYCODE_MENU = 82;" & @CRLF & _ " /** Key code constant: Notification key. */" & @CRLF & _ " public static final int KEYCODE_NOTIFICATION = 83;" & @CRLF & _ " /** Key code constant: Search key. */" & @CRLF & _ " public static final int KEYCODE_SEARCH = 84;" & @CRLF & _ " /** Key code constant: Play/Pause media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_PLAY_PAUSE= 85;" & @CRLF & _ " /** Key code constant: Stop media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_STOP = 86;" & @CRLF & _ " /** Key code constant: Play Next media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_NEXT = 87;" & @CRLF & _ " /** Key code constant: Play Previous media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_PREVIOUS = 88;" & @CRLF & _ " /** Key code constant: Rewind media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_REWIND = 89;" & @CRLF & _ " /** Key code constant: Fast Forward media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_FAST_FORWARD = 90;" & @CRLF & _ " /** Key code constant: Mute key." & @CRLF & _ " * Mute key for the microphone (unlike {@link #KEYCODE_VOLUME_MUTE}, which is the speaker mute" & @CRLF & _ " * key). */" & @CRLF & _ " public static final int KEYCODE_MUTE = 91;" & @CRLF & _ " /** Key code constant: Page Up key. */" & @CRLF & _ " public static final int KEYCODE_PAGE_UP = 92;" & @CRLF & _ " /** Key code constant: Page Down key. */" & @CRLF & _ " public static final int KEYCODE_PAGE_DOWN = 93;" & @CRLF & _ " /** Key code constant: Picture Symbols modifier key." & @CRLF & _ " * Used to switch symbol sets (Emoji, Kao-moji). */" & @CRLF & _ " public static final int KEYCODE_PICTSYMBOLS = 94; // switch symbol-sets (Emoji,Kao-moji)" & @CRLF & _ " /** Key code constant: Switch Charset modifier key." & @CRLF & _ " * Used to switch character sets (Kanji, Katakana). */" & @CRLF & _ " public static final int KEYCODE_SWITCH_CHARSET = 95; // switch char-sets (Kanji,Katakana)" & @CRLF & _ " /** Key code constant: A Button key." & @CRLF & _ " * On a game controller, the A button should be either the button labeled A" & @CRLF & _ " * or the first button on the bottom row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_A = 96;" & @CRLF & _ " /** Key code constant: B Button key." & @CRLF & _ " * On a game controller, the B button should be either the button labeled B" & @CRLF & _ " * or the second button on the bottom row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_B = 97;" & @CRLF & _ " /** Key code constant: C Button key." & @CRLF & _ " * On a game controller, the C button should be either the button labeled C" & @CRLF & _ " * or the third button on the bottom row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_C = 98;" & @CRLF & _ " /** Key code constant: X Button key." & @CRLF & _ " * On a game controller, the X button should be either the button labeled X" & @CRLF & _ " * or the first button on the upper row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_X = 99;" & @CRLF & _ " /** Key code constant: Y Button key." & @CRLF & _ " * On a game controller, the Y button should be either the button labeled Y" & @CRLF & _ " * or the second button on the upper row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_Y = 100;" & @CRLF & _ " /** Key code constant: Z Button key." & @CRLF & _ " * On a game controller, the Z button should be either the button labeled Z" & @CRLF & _ " * or the third button on the upper row of controller buttons. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_Z = 101;" & @CRLF & _ " /** Key code constant: L1 Button key." & @CRLF & _ " * On a game controller, the L1 button should be either the button labeled L1 (or L)" & @CRLF & _ " * or the top left trigger button. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_L1 = 102;" & @CRLF & _ " /** Key code constant: R1 Button key." & @CRLF & _ " * On a game controller, the R1 button should be either the button labeled R1 (or R)" & @CRLF & _ " * or the top right trigger button. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_R1 = 103;" & @CRLF & _ " /** Key code constant: L2 Button key." & @CRLF & _ " * On a game controller, the L2 button should be either the button labeled L2" & @CRLF & _ " * or the bottom left trigger button. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_L2 = 104;" & @CRLF & _ " /** Key code constant: R2 Button key." & @CRLF & _ " * On a game controller, the R2 button should be either the button labeled R2" & @CRLF & _ " * or the bottom right trigger button. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_R2 = 105;" & @CRLF & _ " /** Key code constant: Left Thumb Button key." & @CRLF & _ " * On a game controller, the left thumb button indicates that the left (or only)" & @CRLF & _ " * joystick is pressed. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_THUMBL = 106;" & @CRLF & _ " /** Key code constant: Right Thumb Button key." & @CRLF & _ " * On a game controller, the right thumb button indicates that the right" & @CRLF & _ " * joystick is pressed. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_THUMBR = 107;" & @CRLF & _ " /** Key code constant: Start Button key." & @CRLF & _ " * On a game controller, the button labeled Start. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_START = 108;" & @CRLF & _ " /** Key code constant: Select Button key." & @CRLF & _ " * On a game controller, the button labeled Select. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_SELECT = 109;" & @CRLF & _ " /** Key code constant: Mode Button key." & @CRLF & _ " * On a game controller, the button labeled Mode. */" & @CRLF & _ " public static final int KEYCODE_BUTTON_MODE = 110;" & @CRLF & _ " /** Key code constant: Escape key. */" & @CRLF & _ " public static final int KEYCODE_ESCAPE = 111;" & @CRLF & _ " /** Key code constant: Forward Delete key." & @CRLF & _ " * Deletes characters ahead of the insertion point, unlike {@link #KEYCODE_DEL}. */" & @CRLF & _ " public static final int KEYCODE_FORWARD_DEL = 112;" & @CRLF & _ " /** Key code constant: Left Control modifier key. */" & @CRLF & _ " public static final int KEYCODE_CTRL_LEFT = 113;" & @CRLF & _ " /** Key code constant: Right Control modifier key. */" & @CRLF & _ " public static final int KEYCODE_CTRL_RIGHT = 114;" & @CRLF & _ " /** Key code constant: Caps Lock key. */" & @CRLF & _ " public static final int KEYCODE_CAPS_LOCK = 115;" & @CRLF & _ " /** Key code constant: Scroll Lock key. */" & @CRLF & _ " public static final int KEYCODE_SCROLL_LOCK = 116;" & @CRLF & _ " /** Key code constant: Left Meta modifier key. */" & @CRLF & _ " public static final int KEYCODE_META_LEFT = 117;" & @CRLF & _ " /** Key code constant: Right Meta modifier key. */" & @CRLF & _ " public static final int KEYCODE_META_RIGHT = 118;" & @CRLF & _ " /** Key code constant: Function modifier key. */" & @CRLF & _ " public static final int KEYCODE_FUNCTION = 119;" & @CRLF & _ " /** Key code constant: System Request / Print Screen key. */" & @CRLF & _ " public static final int KEYCODE_SYSRQ = 120;" & @CRLF & _ " /** Key code constant: Break / Pause key. */" & @CRLF & _ " public static final int KEYCODE_BREAK = 121;" & @CRLF & _ " /** Key code constant: Home Movement key." & @CRLF & _ " * Used for scrolling or moving the cursor around to the start of a line" & @CRLF & _ " * or to the top of a list. */" & @CRLF & _ " public static final int KEYCODE_MOVE_HOME = 122;" & @CRLF & _ " /** Key code constant: End Movement key." & @CRLF & _ " * Used for scrolling or moving the cursor around to the end of a line" & @CRLF & _ " * or to the bottom of a list. */" & @CRLF & _ " public static final int KEYCODE_MOVE_END = 123;" & @CRLF & _ " /** Key code constant: Insert key." & @CRLF & _ " * Toggles insert / overwrite edit mode. */" & @CRLF & _ " public static final int KEYCODE_INSERT = 124;" & @CRLF & _ " /** Key code constant: Forward key." & @CRLF & _ " * Navigates forward in the history stack. Complement of {@link #KEYCODE_BACK}. */" & @CRLF & _ " public static final int KEYCODE_FORWARD = 125;" & @CRLF & _ " /** Key code constant: Play media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_PLAY = 126;" & @CRLF & _ " /** Key code constant: Pause media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_PAUSE = 127;" & @CRLF & _ " /** Key code constant: Close media key." & @CRLF & _ " * May be used to close a CD tray, for example. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_CLOSE = 128;" & @CRLF & _ " /** Key code constant: Eject media key." & @CRLF & _ " * May be used to eject a CD tray, for example. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_EJECT = 129;" & @CRLF & _ " /** Key code constant: Record media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_RECORD = 130;" & @CRLF & _ " /** Key code constant: F1 key. */" & @CRLF & _ " public static final int KEYCODE_F1 = 131;" & @CRLF & _ " /** Key code constant: F2 key. */" & @CRLF & _ " public static final int KEYCODE_F2 = 132;" & @CRLF & _ " /** Key code constant: F3 key. */" & @CRLF & _ " public static final int KEYCODE_F3 = 133;" & @CRLF & _ " /** Key code constant: F4 key. */" & @CRLF & _ " public static final int KEYCODE_F4 = 134;" & @CRLF & _ " /** Key code constant: F5 key. */" & @CRLF & _ " public static final int KEYCODE_F5 = 135;" & @CRLF & _ " /** Key code constant: F6 key. */" & @CRLF & _ " public static final int KEYCODE_F6 = 136;" & @CRLF & _ " /** Key code constant: F7 key. */" & @CRLF & _ " public static final int KEYCODE_F7 = 137;" & @CRLF & _ " /** Key code constant: F8 key. */" & @CRLF & _ " public static final int KEYCODE_F8 = 138;" & @CRLF & _ " /** Key code constant: F9 key. */" & @CRLF & _ " public static final int KEYCODE_F9 = 139;" & @CRLF & _ " /** Key code constant: F10 key. */" & @CRLF & _ " public static final int KEYCODE_F10 = 140;" & @CRLF & _ " /** Key code constant: F11 key. */" & @CRLF & _ " public static final int KEYCODE_F11 = 141;" & @CRLF & _ " /** Key code constant: F12 key. */" & @CRLF & _ " public static final int KEYCODE_F12 = 142;" & @CRLF & _ " /** Key code constant: Num Lock key." & @CRLF & _ " * This is the Num Lock key; it is different from {@link #KEYCODE_NUM}." & @CRLF & _ " * This key alters the behavior of other keys on the numeric keypad. */" & @CRLF & _ " public static final int KEYCODE_NUM_LOCK = 143;" & @CRLF & _ " /** Key code constant: Numeric keypad '0' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_0 = 144;" & @CRLF & _ " /** Key code constant: Numeric keypad '1' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_1 = 145;" & @CRLF & _ " /** Key code constant: Numeric keypad '2' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_2 = 146;" & @CRLF & _ " /** Key code constant: Numeric keypad '3' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_3 = 147;" & @CRLF & _ " /** Key code constant: Numeric keypad '4' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_4 = 148;" & @CRLF & _ " /** Key code constant: Numeric keypad '5' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_5 = 149;" & @CRLF & _ " /** Key code constant: Numeric keypad '6' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_6 = 150;" & @CRLF & _ " /** Key code constant: Numeric keypad '7' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_7 = 151;" & @CRLF & _ " /** Key code constant: Numeric keypad '8' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_8 = 152;" & @CRLF & _ " /** Key code constant: Numeric keypad '9' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_9 = 153;" & @CRLF & _ " /** Key code constant: Numeric keypad '/' key (for division). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_DIVIDE = 154;" & @CRLF & _ " /** Key code constant: Numeric keypad '*' key (for multiplication). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_MULTIPLY = 155;" & @CRLF & _ " /** Key code constant: Numeric keypad '-' key (for subtraction). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_SUBTRACT = 156;" & @CRLF & _ " /** Key code constant: Numeric keypad '+' key (for addition). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_ADD = 157;" & @CRLF & _ " /** Key code constant: Numeric keypad '.' key (for decimals or digit grouping). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_DOT = 158;" & @CRLF & _ " /** Key code constant: Numeric keypad ',' key (for decimals or digit grouping). */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_COMMA = 159;" & @CRLF & _ " /** Key code constant: Numeric keypad Enter key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_ENTER = 160;" & @CRLF & _ " /** Key code constant: Numeric keypad '=' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_EQUALS = 161;" & @CRLF & _ " /** Key code constant: Numeric keypad '(' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_LEFT_PAREN = 162;" & @CRLF & _ " /** Key code constant: Numeric keypad ')' key. */" & @CRLF & _ " public static final int KEYCODE_NUMPAD_RIGHT_PAREN = 163;" & @CRLF & _ " /** Key code constant: Volume Mute key." & @CRLF & _ " * Mute key for speaker (unlike {@link #KEYCODE_MUTE}, which is the mute key for the" & @CRLF & _ " * microphone). This key should normally be implemented as a toggle such that the first press" & @CRLF & _ " * mutes the speaker and the second press restores the original volume." & @CRLF & _ " */" & @CRLF & _ " public static final int KEYCODE_VOLUME_MUTE = 164;" & @CRLF & _ " /** Key code constant: Info key." & @CRLF & _ " * Common on TV remotes to show additional information related to what is" & @CRLF & _ " * currently being viewed. */" & @CRLF & _ " public static final int KEYCODE_INFO = 165;" & @CRLF & _ " /** Key code constant: Channel up key." & @CRLF & _ " * On TV remotes, increments the television channel. */" & @CRLF & _ " public static final int KEYCODE_CHANNEL_UP = 166;" & @CRLF & _ " /** Key code constant: Channel down key." & @CRLF & _ " * On TV remotes, decrements the television channel. */" & @CRLF & _ " public static final int KEYCODE_CHANNEL_DOWN = 167;" & @CRLF & _ " /** Key code constant: Zoom in key. */" & @CRLF & _ " public static final int KEYCODE_ZOOM_IN = 168;" & @CRLF & _ " /** Key code constant: Zoom out key. */" & @CRLF & _ " public static final int KEYCODE_ZOOM_OUT = 169;" & @CRLF & _ " /** Key code constant: TV key." & @CRLF & _ " * On TV remotes, switches to viewing live TV. */" & @CRLF & _ " public static final int KEYCODE_TV = 170;" & @CRLF & _ " /** Key code constant: Window key." & @CRLF & _ " * On TV remotes, toggles picture-in-picture mode or other windowing functions." & @CRLF & _ " * On Android Wear devices, triggers a display offset. */" & @CRLF & _ " public static final int KEYCODE_WINDOW = 171;" & @CRLF & _ " /** Key code constant: Guide key." & @CRLF & _ " * On TV remotes, shows a programming guide. */" & @CRLF & _ " public static final int KEYCODE_GUIDE = 172;" & @CRLF & _ " /** Key code constant: DVR key." & @CRLF & _ " * On some TV remotes, switches to a DVR mode for recorded shows. */" & @CRLF & _ " public static final int KEYCODE_DVR = 173;" & @CRLF & _ " /** Key code constant: Bookmark key." & @CRLF & _ " * On some TV remotes, bookmarks content or web pages. */" & @CRLF & _ " public static final int KEYCODE_BOOKMARK = 174;" & @CRLF & _ " /** Key code constant: Toggle captions key." & @CRLF & _ " * Switches the mode for closed-captioning text, for example during television shows. */" & @CRLF & _ " public static final int KEYCODE_CAPTIONS = 175;" & @CRLF & _ " /** Key code constant: Settings key." & @CRLF & _ " * Starts the system settings activity. */" & @CRLF & _ " public static final int KEYCODE_SETTINGS = 176;" & @CRLF & _ " /**" & @CRLF & _ " * Key code constant: TV power key." & @CRLF & _ " * On HDMI TV panel devices and Android TV devices that don't support HDMI, toggles the power" & @CRLF & _ " * state of the device." & @CRLF & _ " * On HDMI source devices, toggles the power state of the HDMI-connected TV via HDMI-CEC and" & @CRLF & _ " * makes the source device follow this power state." & @CRLF & _ " */" & @CRLF & _ " public static final int KEYCODE_TV_POWER = 177;" & @CRLF & _ " /** Key code constant: TV input key." & @CRLF & _ " * On TV remotes, switches the input on a television screen. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT = 178;" & @CRLF & _ " /** Key code constant: Set-top-box power key." & @CRLF & _ " * On TV remotes, toggles the power on an external Set-top-box. */" & @CRLF & _ " public static final int KEYCODE_STB_POWER = 179;" & @CRLF & _ " /** Key code constant: Set-top-box input key." & @CRLF & _ " * On TV remotes, switches the input mode on an external Set-top-box. */" & @CRLF & _ " public static final int KEYCODE_STB_INPUT = 180;" & @CRLF & _ " /** Key code constant: A/V Receiver power key." & @CRLF & _ " * On TV remotes, toggles the power on an external A/V Receiver. */" & @CRLF & _ " public static final int KEYCODE_AVR_POWER = 181;" & @CRLF & _ " /** Key code constant: A/V Receiver input key." & @CRLF & _ " * On TV remotes, switches the input mode on an external A/V Receiver. */" & @CRLF & _ " public static final int KEYCODE_AVR_INPUT = 182;" & @CRLF & _ " /** Key code constant: Red "programmable" key." & @CRLF & _ " * On TV remotes, acts as a contextual/programmable key. */" & @CRLF & _ " public static final int KEYCODE_PROG_RED = 183;" & @CRLF & _ " /** Key code constant: Green "programmable" key." & @CRLF & _ " * On TV remotes, actsas a contextual/programmable key. */" & @CRLF & _ " public static final int KEYCODE_PROG_GREEN = 184;" & @CRLF & _ " /** Key code constant: Yellow "programmable" key." & @CRLF & _ " * On TV remotes, acts as a contextual/programmable key. */" & @CRLF & _ " public static final int KEYCODE_PROG_YELLOW = 185;" & @CRLF & _ " /** Key code constant: Blue "programmable" key." & @CRLF & _ " * On TV remotes, acts as a contextual/programmable key. */" & @CRLF & _ " public static final int KEYCODE_PROG_BLUE = 186;" & @CRLF & _ " /** Key code constant: App switch key." & @CRLF & _ " * Should bring up the application switcher dialog. */" & @CRLF & _ " public static final int KEYCODE_APP_SWITCH = 187;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #1.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_1 = 188;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #2.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_2 = 189;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #3.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_3 = 190;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #4.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_4 = 191;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #5.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_5 = 192;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #6.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_6 = 193;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #7.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_7 = 194;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #8.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_8 = 195;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #9.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_9 = 196;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #10.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_10 = 197;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #11.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_11 = 198;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #12.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_12 = 199;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #13.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_13 = 200;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #14.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_14 = 201;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #15.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_15 = 202;" & @CRLF & _ " /** Key code constant: Generic Game Pad Button #16.*/" & @CRLF & _ " public static final int KEYCODE_BUTTON_16 = 203;" & @CRLF & _ " /** Key code constant: Language Switch key." & @CRLF & _ " * Toggles the current input language such as switching between English and Japanese on" & @CRLF & _ " * a QWERTY keyboard. On some devices, the same function may be performed by" & @CRLF & _ " * pressing Shift+Spacebar. */" & @CRLF & _ " public static final int KEYCODE_LANGUAGE_SWITCH = 204;" & @CRLF & _ " /** Key code constant: Manner Mode key." & @CRLF & _ " * Toggles silent or vibrate mode on and off to make the device behave more politely" & @CRLF & _ " * in certain settings such as on a crowded train. On some devices, the key may only" & @CRLF & _ " * operate when long-pressed. */" & @CRLF & _ " public static final int KEYCODE_MANNER_MODE = 205;" & @CRLF & _ " /** Key code constant: 3D Mode key." & @CRLF & _ " * Toggles the display between 2D and 3D mode. */" & @CRLF & _ " public static final int KEYCODE_3D_MODE = 206;" & @CRLF & _ " /** Key code constant: Contacts special function key." & @CRLF & _ " * Used to launch an address book application. */" & @CRLF & _ " public static final int KEYCODE_CONTACTS = 207;" & @CRLF & _ " /** Key code constant: Calendar special function key." & @CRLF & _ " * Used to launch a calendar application. */" & @CRLF & _ " public static final int KEYCODE_CALENDAR = 208;" & @CRLF & _ " /** Key code constant: Music special function key." & @CRLF & _ " * Used to launch a music player application. */" & @CRLF & _ " public static final int KEYCODE_MUSIC = 209;" & @CRLF & _ " /** Key code constant: Calculator special function key." & @CRLF & _ " * Used to launch a calculator application. */" & @CRLF & _ " public static final int KEYCODE_CALCULATOR = 210;" & @CRLF & _ " /** Key code constant: Japanese full-width / half-width key. */" & @CRLF & _ " public static final int KEYCODE_ZENKAKU_HANKAKU = 211;" & @CRLF & _ " /** Key code constant: Japanese alphanumeric key. */" & @CRLF & _ " public static final int KEYCODE_EISU = 212;" & @CRLF & _ " /** Key code constant: Japanese non-conversion key. */" & @CRLF & _ " public static final int KEYCODE_MUHENKAN = 213;" & @CRLF & _ " /** Key code constant: Japanese conversion key. */" & @CRLF & _ " public static final int KEYCODE_HENKAN = 214;" & @CRLF & _ " /** Key code constant: Japanese katakana / hiragana key. */" & @CRLF & _ " public static final int KEYCODE_KATAKANA_HIRAGANA = 215;" & @CRLF & _ " /** Key code constant: Japanese Yen key. */" & @CRLF & _ " public static final int KEYCODE_YEN = 216;" & @CRLF & _ " /** Key code constant: Japanese Ro key. */" & @CRLF & _ " public static final int KEYCODE_RO = 217;" & @CRLF & _ " /** Key code constant: Japanese kana key. */" & @CRLF & _ " public static final int KEYCODE_KANA = 218;" & @CRLF & _ " /** Key code constant: Assist key." & @CRLF & _ " * Launches the global assist activity. Not delivered to applications. */" & @CRLF & _ " public static final int KEYCODE_ASSIST = 219;" & @CRLF & _ " /** Key code constant: Brightness Down key." & @CRLF & _ " * Adjusts the screen brightness down. */" & @CRLF & _ " public static final int KEYCODE_BRIGHTNESS_DOWN = 220;" & @CRLF & _ " /** Key code constant: Brightness Up key." & @CRLF & _ " * Adjusts the screen brightness up. */" & @CRLF & _ " public static final int KEYCODE_BRIGHTNESS_UP = 221;" & @CRLF & _ " /** Key code constant: Audio Track key." & @CRLF & _ " * Switches the audio tracks. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_AUDIO_TRACK = 222;" & @CRLF & _ " /** Key code constant: Sleep key." & @CRLF & _ " * Puts the device to sleep. Behaves somewhat like {@link #KEYCODE_POWER} but it" & @CRLF & _ " * has no effect if the device is already asleep. */" & @CRLF & _ " public static final int KEYCODE_SLEEP = 223;" & @CRLF & _ " /** Key code constant: Wakeup key." & @CRLF & _ " * Wakes up the device. Behaves somewhat like {@link #KEYCODE_POWER} but it" & @CRLF & _ " * has no effect if the device is already awake. */" & @CRLF & _ " public static final int KEYCODE_WAKEUP = 224;" & @CRLF & _ " /** Key code constant: Pairing key." & @CRLF & _ " * Initiates peripheral pairing mode. Useful for pairing remote control" & @CRLF & _ " * devices or game controllers, especially if no other input mode is" & @CRLF & _ " * available. */" & @CRLF & _ " public static final int KEYCODE_PAIRING = 225;" & @CRLF & _ " /** Key code constant: Media Top Menu key." & @CRLF & _ " * Goes to the top of media menu. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_TOP_MENU = 226;" & @CRLF & _ " /** Key code constant: '11' key. */" & @CRLF & _ " public static final int KEYCODE_11 = 227;" & @CRLF & _ " /** Key code constant: '12' key. */" & @CRLF & _ " public static final int KEYCODE_12 = 228;" & @CRLF & _ " /** Key code constant: Last Channel key." & @CRLF & _ " * Goes to the last viewed channel. */" & @CRLF & _ " public static final int KEYCODE_LAST_CHANNEL = 229;" & @CRLF & _ " /** Key code constant: TV data service key." & @CRLF & _ " * Displays data services like weather, sports. */" & @CRLF & _ " public static final int KEYCODE_TV_DATA_SERVICE = 230;" & @CRLF & _ " /** Key code constant: Voice Assist key." & @CRLF & _ " * Launches the global voice assist activity. Not delivered to applications. */" & @CRLF & _ " public static final int KEYCODE_VOICE_ASSIST = 231;" & @CRLF & _ " /** Key code constant: Radio key." & @CRLF & _ " * Toggles TV service / Radio service. */" & @CRLF & _ " public static final int KEYCODE_TV_RADIO_SERVICE = 232;" & @CRLF & _ " /** Key code constant: Teletext key." & @CRLF & _ " * Displays Teletext service. */" & @CRLF & _ " public static final int KEYCODE_TV_TELETEXT = 233;" & @CRLF & _ " /** Key code constant: Number entry key." & @CRLF & _ " * Initiates to enter multi-digit channel nubmber when each digit key is assigned" & @CRLF & _ " * for selecting separate channel. Corresponds to Number Entry Mode (0x1D) of CEC" & @CRLF & _ " * User Control Code. */" & @CRLF & _ " public static final int KEYCODE_TV_NUMBER_ENTRY = 234;" & @CRLF & _ " /** Key code constant: Analog Terrestrial key." & @CRLF & _ " * Switches to analog terrestrial broadcast service. */" & @CRLF & _ " public static final int KEYCODE_TV_TERRESTRIAL_ANALOG = 235;" & @CRLF & _ " /** Key code constant: Digital Terrestrial key." & @CRLF & _ " * Switches to digital terrestrial broadcast service. */" & @CRLF & _ " public static final int KEYCODE_TV_TERRESTRIAL_DIGITAL = 236;" & @CRLF & _ " /** Key code constant: Satellite key." & @CRLF & _ " * Switches to digital satellite broadcast service. */" & @CRLF & _ " public static final int KEYCODE_TV_SATELLITE = 237;" & @CRLF & _ " /** Key code constant: BS key." & @CRLF & _ " * Switches to BS digital satellite broadcasting service available in Japan. */" & @CRLF & _ " public static final int KEYCODE_TV_SATELLITE_BS = 238;" & @CRLF & _ " /** Key code constant: CS key." & @CRLF & _ " * Switches to CS digital satellite broadcasting service available in Japan. */" & @CRLF & _ " public static final int KEYCODE_TV_SATELLITE_CS = 239;" & @CRLF & _ " /** Key code constant: BS/CS key." & @CRLF & _ " * Toggles between BS and CS digital satellite services. */" & @CRLF & _ " public static final int KEYCODE_TV_SATELLITE_SERVICE = 240;" & @CRLF & _ " /** Key code constant: Toggle Network key." & @CRLF & _ " * Toggles selecting broacast services. */" & @CRLF & _ " public static final int KEYCODE_TV_NETWORK = 241;" & @CRLF & _ " /** Key code constant: Antenna/Cable key." & @CRLF & _ " * Toggles broadcast input source between antenna and cable. */" & @CRLF & _ " public static final int KEYCODE_TV_ANTENNA_CABLE = 242;" & @CRLF & _ " /** Key code constant: HDMI #1 key." & @CRLF & _ " * Switches to HDMI input #1. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_HDMI_1 = 243;" & @CRLF & _ " /** Key code constant: HDMI #2 key." & @CRLF & _ " * Switches to HDMI input #2. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_HDMI_2 = 244;" & @CRLF & _ " /** Key code constant: HDMI #3 key." & @CRLF & _ " * Switches to HDMI input #3. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_HDMI_3 = 245;" & @CRLF & _ " /** Key code constant: HDMI #4 key." & @CRLF & _ " * Switches to HDMI input #4. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_HDMI_4 = 246;" & @CRLF & _ " /** Key code constant: Composite #1 key." & @CRLF & _ " * Switches to composite video input #1. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_COMPOSITE_1 = 247;" & @CRLF & _ " /** Key code constant: Composite #2 key." & @CRLF & _ " * Switches to composite video input #2. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_COMPOSITE_2 = 248;" & @CRLF & _ " /** Key code constant: Component #1 key." & @CRLF & _ " * Switches to component video input #1. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_COMPONENT_1 = 249;" & @CRLF & _ " /** Key code constant: Component #2 key." & @CRLF & _ " * Switches to component video input #2. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_COMPONENT_2 = 250;" & @CRLF & _ " /** Key code constant: VGA #1 key." & @CRLF & _ " * Switches to VGA (analog RGB) input #1. */" & @CRLF & _ " public static final int KEYCODE_TV_INPUT_VGA_1 = 251;" & @CRLF & _ " /** Key code constant: Audio description key." & @CRLF & _ " * Toggles audio description off / on. */" & @CRLF & _ " public static final int KEYCODE_TV_AUDIO_DESCRIPTION = 252;" & @CRLF & _ " /** Key code constant: Audio description mixing volume up key." & @CRLF & _ " * Louden audio description volume as compared with normal audio volume. */" & @CRLF & _ " public static final int KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253;" & @CRLF & _ " /** Key code constant: Audio description mixing volume down key." & @CRLF & _ " * Lessen audio description volume as compared with normal audio volume. */" & @CRLF & _ " public static final int KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254;" & @CRLF & _ " /** Key code constant: Zoom mode key." & @CRLF & _ " * Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.) */" & @CRLF & _ " public static final int KEYCODE_TV_ZOOM_MODE = 255;" & @CRLF & _ " /** Key code constant: Contents menu key." & @CRLF & _ " * Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control" & @CRLF & _ " * Code */" & @CRLF & _ " public static final int KEYCODE_TV_CONTENTS_MENU = 256;" & @CRLF & _ " /** Key code constant: Media context menu key." & @CRLF & _ " * Goes to the context menu of media contents. Corresponds to Media Context-sensitive" & @CRLF & _ " * Menu (0x11) of CEC User Control Code. */" & @CRLF & _ " public static final int KEYCODE_TV_MEDIA_CONTEXT_MENU = 257;" & @CRLF & _ " /** Key code constant: Timer programming key." & @CRLF & _ " * Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of" & @CRLF & _ " * CEC User Control Code. */" & @CRLF & _ " public static final int KEYCODE_TV_TIMER_PROGRAMMING = 258;" & @CRLF & _ " /** Key code constant: Help key. */" & @CRLF & _ " public static final int KEYCODE_HELP = 259;" & @CRLF & _ " /** Key code constant: Navigate to previous key." & @CRLF & _ " * Goes backward by one item in an ordered collection of items. */" & @CRLF & _ " public static final int KEYCODE_NAVIGATE_PREVIOUS = 260;" & @CRLF & _ " /** Key code constant: Navigate to next key." & @CRLF & _ " * Advances to the next item in an ordered collection of items. */" & @CRLF & _ " public static final int KEYCODE_NAVIGATE_NEXT = 261;" & @CRLF & _ " /** Key code constant: Navigate in key." & @CRLF & _ " * Activates the item that currently has focus or expands to the next level of a navigation" & @CRLF & _ " * hierarchy. */" & @CRLF & _ " public static final int KEYCODE_NAVIGATE_IN = 262;" & @CRLF & _ " /** Key code constant: Navigate out key." & @CRLF & _ " * Backs out one level of a navigation hierarchy or collapses the item that currently has" & @CRLF & _ " * focus. */" & @CRLF & _ " public static final int KEYCODE_NAVIGATE_OUT = 263;" & @CRLF & _ " /** Key code constant: Primary stem key for Wear" & @CRLF & _ " * Main power/reset button on watch. */" & @CRLF & _ " public static final int KEYCODE_STEM_PRIMARY = 264;" & @CRLF & _ " /** Key code constant: Generic stem key 1 for Wear */" & @CRLF & _ " public static final int KEYCODE_STEM_1 = 265;" & @CRLF & _ " /** Key code constant: Generic stem key 2 for Wear */" & @CRLF & _ " public static final int KEYCODE_STEM_2 = 266;" & @CRLF & _ " /** Key code constant: Generic stem key 3 for Wear */" & @CRLF & _ " public static final int KEYCODE_STEM_3 = 267;" & @CRLF & _ " /** Key code constant: Directional Pad Up-Left */" & @CRLF & _ " public static final int KEYCODE_DPAD_UP_LEFT = 268;" & @CRLF & _ " /** Key code constant: Directional Pad Down-Left */" & @CRLF & _ " public static final int KEYCODE_DPAD_DOWN_LEFT = 269;" & @CRLF & _ " /** Key code constant: Directional Pad Up-Right */" & @CRLF & _ " public static final int KEYCODE_DPAD_UP_RIGHT = 270;" & @CRLF & _ " /** Key code constant: Directional Pad Down-Right */" & @CRLF & _ " public static final int KEYCODE_DPAD_DOWN_RIGHT = 271;" & @CRLF & _ " /** Key code constant: Skip forward media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_SKIP_FORWARD = 272;" & @CRLF & _ " /** Key code constant: Skip backward media key. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_SKIP_BACKWARD = 273;" & @CRLF & _ " /** Key code constant: Step forward media key." & @CRLF & _ " * Steps media forward, one frame at a time. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_STEP_FORWARD = 274;" & @CRLF & _ " /** Key code constant: Step backward media key." & @CRLF & _ " * Steps media backward, one frame at a time. */" & @CRLF & _ " public static final int KEYCODE_MEDIA_STEP_BACKWARD = 275;" & @CRLF & _ " /** Key code constant: put device to sleep unless a wakelock is held. */" & @CRLF & _ " public static final int KEYCODE_SOFT_SLEEP = 276;" & @CRLF & _ " /** Key code constant: Cut key. */" & @CRLF & _ " public static final int KEYCODE_CUT = 277;" & @CRLF & _ " /** Key code constant: Copy key. */" & @CRLF & _ " public static final int KEYCODE_COPY = 278;" & @CRLF & _ " /** Key code constant: Paste key. */" & @CRLF & _ " public static final int KEYCODE_PASTE = 279;" & @CRLF & _ " /** Key code constant: Consumed by the system for navigation up */" & @CRLF & _ " public static final int KEYCODE_SYSTEM_NAVIGATION_UP = 280;" & @CRLF & _ " /** Key code constant: Consumed by the system for navigation down */" & @CRLF & _ " public static final int KEYCODE_SYSTEM_NAVIGATION_DOWN = 281;" & @CRLF & _ " /** Key code constant: Consumed by the system for navigation left*/" & @CRLF & _ " public static final int KEYCODE_SYSTEM_NAVIGATION_LEFT = 282;" & @CRLF & _ " /** Key code constant: Consumed by the system for navigation right */" & @CRLF & _ " public static final int KEYCODE_SYSTEM_NAVIGATION_RIGHT = 283;" & @CRLF & _ " /** Key code constant: Show all apps */" & @CRLF & _ " public static final int KEYCODE_ALL_APPS = 284;" & @CRLF & _ " /** Key code constant: Refresh key. */" & @CRLF & _ " public static final int KEYCODE_REFRESH = 285;" & @CRLF & _ " /** Key code constant: Thumbs up key. Apps can use this to let user upvote content. */" & @CRLF & _ " public static final int KEYCODE_THUMBS_UP = 286;" & @CRLF & _ " /** Key code constant: Thumbs down key. Apps can use this to let user downvote content. */" & @CRLF & _ " public static final int KEYCODE_THUMBS_DOWN = 287;" & @CRLF & _ " /**" & @CRLF & _ " * Key code constant: Used to switch current {@link android.accounts.Account} that is" & @CRLF & _ " * consuming content. May be consumed by system to set account globally." & @CRLF & _ " */" & @CRLF & _ " public static final int KEYCODE_PROFILE_SWITCH = 288;" & @CRLF & _ " /** Key code constant: Video Application key #1. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_1 = 289;" & @CRLF & _ " /** Key code constant: Video Application key #2. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_2 = 290;" & @CRLF & _ " /** Key code constant: Video Application key #3. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_3 = 291;" & @CRLF & _ " /** Key code constant: Video Application key #4. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_4 = 292;" & @CRLF & _ " /** Key code constant: Video Application key #5. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_5 = 293;" & @CRLF & _ " /** Key code constant: Video Application key #6. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_6 = 294;" & @CRLF & _ " /** Key code constant: Video Application key #7. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_7 = 295;" & @CRLF & _ " /** Key code constant: Video Application key #8. */" & @CRLF & _ " public static final int KEYCODE_VIDEO_APP_8 = 296;" & @CRLF & _ " /** Key code constant: Featured Application key #1. */" & @CRLF & _ " public static final int KEYCODE_FEATURED_APP_1 = 297;" & @CRLF & _ " /** Key code constant: Featured Application key #2. */" & @CRLF & _ " public static final int KEYCODE_FEATURED_APP_2 = 298;" & @CRLF & _ " /** Key code constant: Featured Application key #3. */" & @CRLF & _ " public static final int KEYCODE_FEATURED_APP_3 = 299;" & @CRLF & _ " /** Key code constant: Featured Application key #4. */" & @CRLF & _ " public static final int KEYCODE_FEATURED_APP_4 = 300;" & @CRLF & _ " /** Key code constant: Demo Application key #1. */" & @CRLF & _ " public static final int KEYCODE_DEMO_APP_1 = 301;" & @CRLF & _ " /** Key code constant: Demo Application key #2. */" & @CRLF & _ " public static final int KEYCODE_DEMO_APP_2 = 302;" & @CRLF & _ " /** Key code constant: Demo Application key #3. */" & @CRLF & _ " public static final int KEYCODE_DEMO_APP_3 = 303;" & @CRLF & _ " /** Key code constant: Demo Application key #4. */" & @CRLF & _ " public static final int KEYCODE_DEMO_APP_4 = 304;" & @CRLF & _ " public static final int META_ALT_ON = 0x02;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the left ALT meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isAltPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_ALT_LEFT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_ALT_LEFT_ON = 0x10;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the right the ALT meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isAltPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_ALT_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_ALT_RIGHT_ON = 0x20;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether one of the SHIFT meta keys is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isShiftPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_SHIFT_LEFT" & @CRLF & _ " * @see #KEYCODE_SHIFT_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_SHIFT_ON = 0x1;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the left SHIFT meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isShiftPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_SHIFT_LEFT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_SHIFT_LEFT_ON = 0x40;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the right SHIFT meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isShiftPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_SHIFT_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_SHIFT_RIGHT_ON = 0x80;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the SYM meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isSymPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " */" & @CRLF & _ " public static final int META_SYM_ON = 0x4;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the FUNCTION meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isFunctionPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " */" & @CRLF & _ " public static final int META_FUNCTION_ON = 0x8;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether one of the CTRL meta keys is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isCtrlPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_CTRL_LEFT" & @CRLF & _ " * @see #KEYCODE_CTRL_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_CTRL_ON = 0x1000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the left CTRL meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isCtrlPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_CTRL_LEFT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_CTRL_LEFT_ON = 0x2000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the right CTRL meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isCtrlPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_CTRL_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_CTRL_RIGHT_ON = 0x4000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether one of the META meta keys is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isMetaPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_META_LEFT" & @CRLF & _ " * @see #KEYCODE_META_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_META_ON = 0x10000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the left META meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isMetaPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_META_LEFT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_META_LEFT_ON = 0x20000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the right META meta key is pressed.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isMetaPressed()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_META_RIGHT" & @CRLF & _ " */" & @CRLF & _ " public static final int META_META_RIGHT_ON = 0x40000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the CAPS LOCK meta key is on.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isCapsLockOn()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_CAPS_LOCK" & @CRLF & _ " */" & @CRLF & _ " public static final int META_CAPS_LOCK_ON = 0x100000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the NUM LOCK meta key is on.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isNumLockOn()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_NUM_LOCK" & @CRLF & _ " */" & @CRLF & _ " public static final int META_NUM_LOCK_ON = 0x200000;" & @CRLF & _ " /**" & @CRLF & _ " * <p>This mask is used to check whether the SCROLL LOCK meta key is on.</p>" & @CRLF & _ " *" & @CRLF & _ " * @see #isScrollLockOn()" & @CRLF & _ " * @see #getMetaState()" & @CRLF & _ " * @see #KEYCODE_SCROLL_LOCK" & @CRLF & _ " */" & @CRLF & _ " public static final int META_SCROLL_LOCK_ON = 0x400000;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is a combination of {@link #META_SHIFT_ON}, {@link #META_SHIFT_LEFT_ON}" & @CRLF & _ " * and {@link #META_SHIFT_RIGHT_ON}." & @CRLF & _ " */" & @CRLF & _ " public static final int META_SHIFT_MASK = META_SHIFT_ON" & @CRLF & _ " | META_SHIFT_LEFT_ON | META_SHIFT_RIGHT_ON;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is a combination of {@link #META_ALT_ON}, {@link #META_ALT_LEFT_ON}" & @CRLF & _ " * and {@link #META_ALT_RIGHT_ON}." & @CRLF & _ " */" & @CRLF & _ " public static final int META_ALT_MASK = META_ALT_ON" & @CRLF & _ " | META_ALT_LEFT_ON | META_ALT_RIGHT_ON;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is a combination of {@link #META_CTRL_ON}, {@link #META_CTRL_LEFT_ON}" & @CRLF & _ " * and {@link #META_CTRL_RIGHT_ON}." & @CRLF & _ " */" & @CRLF & _ " public static final int META_CTRL_MASK = META_CTRL_ON" & @CRLF & _ " | META_CTRL_LEFT_ON | META_CTRL_RIGHT_ON;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is a combination of {@link #META_META_ON}, {@link #META_META_LEFT_ON}" & @CRLF & _ " * and {@link #META_META_RIGHT_ON}." & @CRLF & _ " */" & @CRLF & _ " public static final int META_META_MASK = META_META_ON" & @CRLF & _ " | META_META_LEFT_ON | META_META_RIGHT_ON;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is set if the device woke because of this key event." & @CRLF & _ " *" & @CRLF & _ " * @deprecated This flag will never be set by the system since the system" & @CRLF & _ " * consumes all wake keys itself." & @CRLF & _ " */" & @CRLF & _ " @Deprecated" & @CRLF & _ " public static final int FLAG_WOKE_HERE = 0x1;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is set if the key event was generated by a software keyboard." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_SOFT_KEYBOARD = 0x2;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is set if we don't want the key event to cause us to leave" & @CRLF & _ " * touch mode." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_KEEP_TOUCH_MODE = 0x4;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is set if an event was known to come from a trusted part" & @CRLF & _ " * of the system. That is, the event is known to come from the user," & @CRLF & _ " * and could not have been spoofed by a third party component." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_FROM_SYSTEM = 0x8;" & @CRLF & _ " /**" & @CRLF & _ " * This mask is used for compatibility, to identify enter keys that are" & @CRLF & _ " * coming from an IME whose enter key has been auto-labelled "next" or" & @CRLF & _ " * "done". This allows TextView to dispatch these as normal enter keys" & @CRLF & _ " * for old applications, but still do the appropriate action when" & @CRLF & _ " * receiving them." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_EDITOR_ACTION = 0x10;" & @CRLF & _ " /**" & @CRLF & _ " * When associated with up key events, this indicates that the key press" & @CRLF & _ " * has been canceled. Typically this is used with virtual touch screen" & @CRLF & _ " * keys, where the user can slide from the virtual key area on to the" & @CRLF & _ " * display: in that case, the application will receive a canceled up" & @CRLF & _ " * event and should not perform the action normally associated with the" & @CRLF & _ " * key. Note that for this to work, the application can not perform an" & @CRLF & _ " * action for a key until it receives an up or the long press timeout has" & @CRLF & _ " * expired." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_CANCELED = 0x20;" & @CRLF & _ " /**" & @CRLF & _ " * This key event was generated by a virtual (on-screen) hard key area." & @CRLF & _ " * Typically this is an area of the touchscreen, outside of the regular" & @CRLF & _ " * display, dedicated to "hardware" buttons." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_VIRTUAL_HARD_KEY = 0x40;" & @CRLF & _ " /**" & @CRLF & _ " * This flag is set for the first key repeat that occurs after the" & @CRLF & _ " * long press timeout." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_LONG_PRESS = 0x80;" & @CRLF & _ " /**" & @CRLF & _ " * Set when a key event has {@link #FLAG_CANCELED} set because a long" & @CRLF & _ " * press action was executed while it was down." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_CANCELED_LONG_PRESS = 0x100;" & @CRLF & _ " /**" & @CRLF & _ " * Set for {@link #ACTION_UP} when this event's key code is still being" & @CRLF & _ " * tracked from its initial down. That is, somebody requested that tracking" & @CRLF & _ " * started on the key down and a long press has not caused" & @CRLF & _ " * the tracking to be canceled." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_TRACKING = 0x200;" & @CRLF & _ " /**" & @CRLF & _ " * Set when a key event has been synthesized to implement default behavior" & @CRLF & _ " * for an event that the application did not handle." & @CRLF & _ " * Fallback key events are generated by unhandled trackball motions" & @CRLF & _ " * (to emulate a directional keypad) and by certain unhandled key presses" & @CRLF & _ " * that are declared in the key map (such as special function numeric keypad" & @CRLF & _ " * keys when numlock is off)." & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_FALLBACK = 0x400;" & @CRLF & _ " /**" & @CRLF & _ " * This flag indicates that this event was modified by or generated from an accessibility" & @CRLF & _ " * service. Value = 0x800" & @CRLF & _ " * @hide" & @CRLF & _ " */" & @CRLF & _ " @TestApi" & @CRLF & _ " public static final int FLAG_IS_ACCESSIBILITY_EVENT = INPUT_EVENT_FLAG_IS_ACCESSIBILITY_EVENT;" & @CRLF & _ " /**" & @CRLF & _ " * Signifies that the key is being predispatched." & @CRLF & _ " * @hide" & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_PREDISPATCH = 0x20000000;" & @CRLF & _ " /**" & @CRLF & _ " * Private control to determine when an app is tracking a key sequence." & @CRLF & _ " * @hide" & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_START_TRACKING = 0x40000000;" & @CRLF & _ " /**" & @CRLF & _ " * Private flag that indicates when the system has detected that this key event" & @CRLF & _ " * may be inconsistent with respect to the sequence of previously delivered key events," & @CRLF & _ " * such as when a key up event is sent but the key was not down." & @CRLF & _ " *" & @CRLF & _ " * @hide" & @CRLF & _ " * @see #isTainted" & @CRLF & _ " * @see #setTainted" & @CRLF & _ " */" & @CRLF & _ " public static final int FLAG_TAINTED = 0x80000000;" 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