Difference between revisions of "Template:RegexExample"

From CSE330 Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width:80%; margin:0 auto;">
+
<div style="width:80%; margin:0 auto 10px;">
<div style="text-align:right;">{{#if:{{{method|}}}
+
<div style="text-align:right;">[http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] | [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal]</div>
| {{#if:{{{method}}}==debuggex
 
| [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex]
 
| [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal]
 
}}
 
| [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] - [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal]
 
}}</div>
 
 
<div style="background-color:#FAEDC8; padding:8px; font:14px/12px monospace;">{{{regex}}}</div>
 
<div style="background-color:#FAEDC8; padding:8px; font:14px/12px monospace;">{{{regex}}}</div>
 
</div>
 
</div>

Latest revision as of 06:38, 24 March 2013