html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<!--
challenge: https://www.sololearn.com/Discuss/645450/
proposed by Julian Fechner
made by ysraelcon.
-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>StringScanFormat</title>
</head>
<body>
<span>String: </span>
<input type=text id=inT><br>
<span>Pattern: </span>
<select id=sl>
<option id=op1 value="^.|\d+$" selected>%c string %d</option>
<option id=op2 value="\s([^.]+).+$">string %s</option>
<option id=op3 value="\d\s([^.]+).+$">string %d %s%c</option>
<option id=op4 value="\d+">%d</option>
<option id=op5 value="\d+\.\d+">%d floats</option>
<option id=op6 value="inPa.value">write your pattern</option>
</select>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run