Home
Tester
Reference
About
Pattern
(?m)^(.*?)#cmakedefine([^\r\n]*)
Input
#cmakedefine BREAK_THE_CODE
#cmakedefine BREAK_THE_CODE
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
hello $1#undef$2 goodbye
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
1
match found in about
2
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
$2
0
2
#cmakedefine BREAK_THE_CODE
hello #undef BREAK_THE_CODE goodbye
empty string
BREAK_THE_CODE
hello #undef BREAK_THE_CODE goodbye
whitespace
empty string
BREAK_THE_CODE
whitespace