Diysb Tools

回文检测

世界上最简单的基于浏览器的回文检测工具。即时验证文本正读和反读是否一致。非常适合字谜游戏、语言分析或验证对称文本模式。支持各种分隔符和多词回文检测。

文本工具
Input text
Result
工具选项
Splitting options
Symbol
Split text by a specific character
Separator character
Regex
Split text using a regular expression
回文检测 示例

Check Words

Check if each word in a sentence is a palindrome.

Input
racecar hello level world madam
Output
"racecar" → Palindrome
"hello" → Not a palindrome
"level" → Palindrome
"world" → Not a palindrome
"madam" → Palindrome
Splitting options
Symbol
Split text by a specific character
Separator character
Regex
Split text using a regular expression

Check with Regex Split

Use a regex to split the text and check each part.

Input
A man, a plan, a canal: Panama
Output
"A" → Palindrome
"man" → Not a palindrome
"a" → Palindrome
"plan" → Not a palindrome
"a" → Palindrome
"canal" → Not a palindrome
"Panama" → Not a palindrome
Splitting options
Symbol
Split text by a specific character
Regex
Split text using a regular expression
Regular expression for splitting

Check Phrases

Check if entire phrases are palindromes (each line is checked).

Input
racecar
hello
level
Output
"racecar" → Palindrome
"hello" → Not a palindrome
"level" → Palindrome
Splitting options
Symbol
Split text by a specific character
Separator character
Regex
Split text using a regular expression