I need logical AND in regex.
something like
jack AND james
agree with following strings
\'hi jack here is
You can make use of regex's quantifier feature since lookaround may not be supported all the time.
lookaround
(\bjames\b){1,}.*(\bjack\b){1,}|(\bjack\b){1,}.*(\bjames\b){1,}