Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
217 views
in Technique[技术] by (71.8m points)

html - using 2 wildcards anywhere in the html5 input pattern

I'm working with a word search system, I should be able to use wildcards in the input. The pattern I use works but it only allows me to use wildcards at the end of the word. I should be able to use it anywhere. Can you help with Regex?

My input pattern:

"[a-zA-Z?ü??????ü???I] + [?  *] {0,2}"

Example : "SEARCH**" "SEARCH?*" "SEARCH??"

i want : "SEARCH" or "S?EAR?CH" or "?SEARCH" or "SEARCH*" or "SEARCH??"


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...