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 - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

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