Regex tester
Pattern
Input
SYDNEY - NEW YORK

Sydney - New York
alot of dynamic text 1

NEW YORK - SYDNEY
This is the start of a line. NEW YORK - SYDNEY. This is the end of a line.

alot of dynamic Text

NEW YORK - LONDON

alot of dynamic Text

LONDON - SYDNEY

alot of dynamic Text
Options
Replacement
Click the context tab to see replacements.
4 matches found in about 1 millisecond.
IndexPositionMatched String
00SYDNEY - NEW YORK
164
NEW YORK - SYDNEY
2185
NEW YORK - LONDON
3230
LONDON - SYDNEY
SYDNEY - NEW YORK
​
​Sydney - New York
​alot of dynamic text 1
​
​NEW YORK - SYDNEY
​This is the start of a line. NEW YORK - SYDNEY. This is the end of a line.
​
​alot of dynamic Text
​
​NEW YORK - LONDON
​
​alot of dynamic Text
​
​LONDON - SYDNEY
​
​alot of dynamic Text
  1. empty string

  2. Sydney - New York
    alot of dynamic text 1

  3. This is the start of a line. NEW YORK - SYDNEY. This is the end of a line.

    alot of dynamic Text

  4. alot of dynamic Text

  5. alot of dynamic Text