Regex tester
Pattern
Input
  // foo.MyFunction()
foo.MyFunction();
    foo.MyFunction()
//foo.MyFunction()
// { foo.MyFunction(); }
Options
Replacement
Click the context tab to see replacements.
2 matches found in about 5 milliseconds.
IndexPositionMatched String
027MyFunction()
150MyFunction()
  // foo.MyFunction()
​foo.MyFunction();
​    foo.MyFunction()
​//foo.MyFunction()
​// { foo.MyFunction(); }
  1. // foo.MyFunction()
    foo.
  2. ;
    foo.

  3. //foo.MyFunction()
    // { foo.MyFunction(); }