Try:
name = "^aH^ai" name = name:gsub("%^a", "")
See also: http://lua-users.org/wiki/StringLibraryTutorial
Related Posts:
- How to replace all double quotes to single quotes using jquery?
- Split a string using string.gmatch() in Lua
- Lua string.format options
- Lua read beginning of a string
- Standard function to replace character or substring in a char array?
- What is lexicographical order?
- How to replace all occurrences of a string in JavaScript
- Regex not operator
- working of \n in python [duplicate]
- Regex not operator
- Extract a substring using PowerShell
- Extract substring in Bash
- Regex not operator
- node.js string.replace doesn’t work?
- How to use operator ‘-replace’ in PowerShell to replace strings of texts with special characters and replace successfully
- What is the difference between \r\n, \r, and \n? [duplicate]
- string to string array conversion in java
- What is the difference between \r\n, \r, and \n? [duplicate]
- Regex how to match an optional character
- How to remove punctuation in python?
- Replace part of a string with another string
- How do I properly compare strings in C?
- How to remove .html from URL?
- What is the difference between a “line feed” and a “carriage return”?
- How to convert an int to string in C?
- Python: TypeError: cannot concatenate ‘str’ and ‘int’ objects
- Ignoring upper case and lower case in Java
- how to replace quotation marks with \”
- Best way to replace multiple characters in a string?
- Convert character to ASCII numeric value in java
- What does strcmp() exactly return in C?
- Generate random string/characters in JavaScript
- “[ ]” vs. “[[ ]]” in Bash shell
- How to trim whitespace from a Bash variable?
- How to get the filename without the extension from a path in Python?
- sprintf like functionality in Python
- C – The %x format specifier
- How can I remove a character from a string using JavaScript?
- n-grams in python, four, five, six grams?
- Alphabet range in Python
- Best way to replace multiple characters in a string?
- How to trim whitespace from a Bash variable?
- What is the difference between ‘ and ” in JavaScript?
- Center text in fixed-width field with stream manipulators in C++
- C# – Illegal characters in path
- \n or \n in php echo not print [duplicate]
- Mips how to store user input string
- PadLeft function in T-SQL
- bash : Bad Substitution
- jQuery removing ‘-‘ character from string
- How to assign multiple lines string in Powershell Console
- jQuery – replace all instances of a character in a string [duplicate]
- LC-3 STR with R1 as offset
- How do I print my Java object without getting “SomeType@2f92e0f4”?
- How can I process each letter of text using Javascript?
- Difference between String replace() and replaceAll()
- PHP to write Tab Characters inside a file?
- Replace a character at a specific index in a string?
- Haskell: Converting Int to String
- Remove specific characters from a string in Python
- Passing string to a function in C – with or without pointers?
- Trim a string in C [duplicate]
- How to remove first character from C-string?
- Difference between char* and char** (in C)
- Extract filename and extension in Bash
- Meaning of #{ } in Ruby?
- Removing double quotes from a string in Java
- Replace spaces with dashes and make all letters lower-case
- Taking a new line using printf in java? Is %n correct?
- How to count instances of character in SQL Column
- Print string to text file
- Java String Split by “|”
- Array to String PHP?
- How do I append one string to another in Python?
- What is use of c_str function In c++
- Convert string to integer type in Go?
- How do I properly compare strings in C?
- Can I multiply strings in Java to repeat sequences?
- What does %w(array) mean?
- Java way to check if a string is palindrome
- Read whole ASCII file into C++ std::string
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Converting string to Date and DateTime
- What is the easiest/best/most correct way to iterate through the characters of a string in Java?
- How can I replace text with CSS?
- Creating a timer using Lua
- How do I check if string contains substring?
- Data argument not used by format strings in C
- std::wstring VS std::string
- How to add a “sleep” or “wait” to my Lua Script?
- Removing trailing newline character from fgets() input
- Create nice column output in python
- TypeError: decoding str is not supported
- The difference between char * and char[] [duplicate]
- How to math.floor to a decimal in Lua?
- How do I replace a character in a string in Java?
- Append a single character to a string or char array in java?
- Unrecognized escape sequence for path string containing backslashes
- Convert JsonObject to String
- How to swap text based on patterns at once with sed?