I need logical AND in regex.
something like
jack AND james
agree with following strings
\'hi jack here is
Try:
james.*jack
If you want both at the same time, then or them:
or
james.*jack|jack.*james