Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?s)(\d+)\.(.*?)(?:(?:\r*\n|\r* \n){2})
/
gsm
Input 1
1. some text is here. more text unrelated text 2. even more text. text text text you don't want more you don't want 1. Convert following decimal numbers in signed binary, octal and hexadecimal numbers using minimum possible number of bits. a) 17 b) -17 A decimal number consists of decimal digits (0 to 9), a binary number consists of binary digits (0, 1), octal number consists of octal digits (0 to 7), and a hexadecimal number consists of 16 digits (0 to 9, A, B, C, D, E and F ). A decimal digit can be converted to any other base by following three simple steps mentioned below: ● Divide the decimal number by the base (i.e. 2 for binary, 8 for octal, and 16 for Hex ) ● The remainder will form the lowest order digit in the converted number system. ● Repeat steps 1 and 2 mentioned above until no divisor remains The MSB represents “sign” information. For negative numbers, MSB is one and for positive numbers, MSB is zero. Using the steps mentioned above, we