Regex tester
Pattern
Input
if (someCondition)
    wh = fg;
if (someCondition) 
{
    wh = fg;
}
Options
Replacement
Click the context tab to see replacements.
1 match found in about 2 milliseconds.
IndexPositionMatched String
00if (someCondition)
w
if (someCondition)
​    wh = fg;
​if (someCondition) 
​{
​    wh = fg;
​}
  1. empty string
  2. h = fg;
    if (someCondition)
    {
    wh = fg;
    }