Escape it with a backslash:
/\^/
This will make it be interpreted as a literal ^
character.
More Related Contents:
- Carets in Regular Expressions
- How to extract all Yahoo emails from a .CSV file?
- Regular expression to remove fancy apostrophe [closed]
- Regular Expression for ” – ” and characters after [closed]
- What is a word boundary in regex?
- Regex to match only letters
- How to calculate the number of occurrence of a given character in each row of a column of strings?
- Escaping a forward slash in a regular expression
- How can I use a variable in the replacement side of the Perl substitution operator?
- Why doesn’t `\d` work in regular expressions in sed? [duplicate]
- In regular expressions, what is a backtracking / back referencing?
- Regular expression for youtube links
- How can I use ‘Not Like’ operator in MongoDB
- Zero-Length regexes and infinite matches?
- Regex pattern for HH:MM:SS time string
- Comma Separated Numbers Regex
- Use a function in Powershell replace
- RegEx pattern any two letters followed by six numbers
- sed join lines together
- Lookbehind on regex for VBA?
- Symbol for any number of any characters in regex?
- Remove everything except regex match in Vim
- Complete word matching using grepl in R
- AngularJS – Remove leading and trailing whitespace from input-box using regex
- Difference between egrep and grep
- Regex optional group
- Is there an R function to escape a string for regex characters
- how to match a number which is less than or equal to 100?
- notepad++ Inverse Regex replace (all but string)
- Implement auto-complete feature using MongoDB search