如何从 sql table 破译这个字符串?

How to decipher this string from sql table?

我在 table 中有这个字符串。

[0-9]+(\*+)? ?([0-9]+)?(\*+)? ?([0-9]+)?

我知道 0-9 表示从 0 到 9 的任何数字,但其余的...[] 和 () 之间有什么区别,有什么区别? or + or / or * 是什么意思? space之间是什么?

? ?

如何破译它?这个叫什么?这些都是通配符吗?

叫做regrex (see regular expression)

Regular expressions are patterns used to match character combinations in strings. These patterns are used with the exec and test methods of RegExp, and with the match, replace, search, and split methods of String. here

[RANGE] 类似于 [a-z] 或 [SINGLE CHARACTERS] 类似于 [abc]

(MATCH_SET) 在你的结果中

示例文本 "My lazy dog sleeps" 使用正则表达式 /(lazy) (dog)/ 匹配

Resultset 0 = lazy dog
Resultset 1 = lazy
Resultset 2 = dog 

?/+///* 我认为你发帖有误。