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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -