Golang regular expression test online
Description: golang regular expression online test is implemented based on the regexp package of go version 1.17 .
Golang regular expression test online tool provides online matching and replacement of golang regular expressions. This tool supports golang regular expression matching, golang regular expression splitting strings, and golang regular expression replacing strings.
golang regular expressions test tool online (go language regular expressions, go regular expressions) provides regular expression online matching, replacement and splitting testing functions based on golang regular expression syntax. You can use this tool to quickly verify that regular expressions work as expected.
- Enter the string to match in the input content.
- Enter a valid Golang regular expression in the regular expression,eg \d+ to match number.Regular expressions can also contain flags.
- In the method, select whether to perform regular expression matching or regular expression replacement or regular expression split.When performing replacement, if you do not enter replacement text, it will be replaced with empty.
- The matching at x in the matching result shows the matching times of the regular expression in the string, and each matching is highlighted in the text box.