RegEx: text that contains any match letter in sequence -


is possible have regex search person's name. if enter 'fb' match word 'foobar'?

yes can match letter in sequence using .* before words.

so,in case .*f.*b


.* cause lot of backtracking in case have more 2 words , if there multiple such words.you can instead use .*? match lazily , avoid backtracking


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -