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

Java sticky instances of class com.mysql.jdbc.Field aggregating -