Validate Your Binary String


Author: Vincent Berger
Created: Jan 24, 2019






Valide your binary string to check whether it is a vlid string.
This check is checking agianst the IBM ASCII table for improvement.

HTML:

<!DOCTYPE html>
<html>
<head>
    <title>Binary string validator</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <meta content="utf-8" http-equiv="encoding">
</head>
<body>
    
    <!-- Main Wrapper -->
    <div id="main_wrapper">
        <span id="source">
            <a href="https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.networkcomm/conversion_table.htm" target="_blank">
            IBM source
            </a>
            <a href="https://www.sololearn.com/learn/4547/?ref=app" target="_blank">
            Contest
            </a>
        </span>
        <span id="copy">© Vincent Berger</span>

        <h3>Validate your binary string</h3>
        <input type="text" id="binary_validation" placeholder="Search by binary or ASCII" />

        <!-- Invalid string -->
        <span id="invalid"></span>

        <!-- Binary list -->
        <div id="IBM_list">
            <h3>IBM Binary Table</h3>

            <table id="table">
                <tr>
                    <th>Binary</th>
                    <th>ASCII</th>
                    <th>Decimal</th>
                    <th>Hexidecimal</th>
                    <th>Octal</th>
                </tr>
                <tr><td>0</td><td>null</td><td>0</td><td>0</td><td>0</td></tr>
                <tr><td>1</td><td>start of header</td><td>1</td><td>1</td><td>1</td></tr>
                <tr><td>10</td><td>start of text</td><td>2</td><td>2</td><td>2</td></tr>
                <tr><td>11</td><td>end of text</td><td>3</td><td>3</td><td>3</td></tr>
                <tr><td>100</td><td>end of transmission</td><td>4</td><td>4</td><td>4</td></tr>
                <tr><td>101</td><td>enquire</td><td>5</td><td>5</td><td>5</td></tr>
                <tr><td>110</td><td>acknowledge</td><td>6</td><td>6</td><td>6</td></tr>
                <tr><td>111</td><td>bell</td><td>7</td><td>7</td><td>7</td></tr>
                <tr><td>1000</td><td>backspace</td><td>8</td><td>8</td><td>10</td></tr>
                <tr><td>1001</td><td>horizontal tab</td><td>9</td><td>9</td><td>11</td></tr>
                <tr><td>1010</td><td>linefeed</td><td>10</td><td>A</td><td>12</td></tr>
                <tr><td>1011</td><td>vertical tab</td><td>11</td><td>B</td><td>13</td></tr>
                <tr><td>1100</td><td>form feed</td><td>12</td><td>C</td><td>14</td></tr>
                <tr><td>1101</td><td>carriage return</td><td>13</td><td>D</td><td>15</td></tr>
                <tr><td>1110</td><td>shift out</td><td>14</td><td>E</td><td>16</td></tr>
                <tr><td>1111</td><td>shift in</td><td>15</td><td>F</td><td>17</td></tr>
                <tr><td>10000</td><td>data link escape</td><td>16</td><td>10</td><td>20</td></tr>
                <tr><td>10001</td><td>device control 1/Xon</td><td>17</td><td>11</td><td>21</td></tr>
                <tr><td>10010</td><td>device control 2</td><td>18</td><td>12</td><td>22</td></tr>
                <tr><td>10011</td><td>device control 3/Xoff</td><td>19</td><td>13</td><td>23</td></tr>
                <tr><td>10100</td><td>device control 4</td><td>20</td><td>14</td><td>24</td></tr>
                <tr><td>10101</td><td>negative acknowledge</td><td>21</td><td>15</td><td>25</td></tr>
                <tr><td>10110</td><td>synchronous idle</td><td>22</td><td>16</td><td>26</td></tr>
                <tr><td>10111</td><td>end of transmission block</td><td>23</td><td>17</td><td>27</td></tr>
                <tr><td>11000</td><td>cancel</td><td>24</td><td>18</td><td>30</td></tr>
                <tr><td>11001</td><td>end of medium</td><td>25</td><td>19</td><td>31</td></tr>
                <tr><td>11010</td><td>end of file/ substitute</td><td>26</td><td>1A</td><td>32</td></tr>
                <tr><td>11011</td><td>escape</td><td>27</td><td>1B</td><td>33</td></tr>
                <tr><td>11100</td><td>file separator</td><td>28</td><td>1C</td><td>34</td></tr>
                <tr><td>11101</td><td>group separator</td><td>29</td><td>1D</td><td>35</td></tr>
                <tr><td>11110</td><td>record separator</td><td>30</td><td>1E</td><td>36</td></tr>
                <tr><td>11111</td><td>unit separator</td><td>31</td><td>1F</td><td>37</td></tr>
                <tr><td>100000</td><td>space</td><td>32</td><td>20</td><td>40</td></tr>
                <tr><td>100001</td><td>!</td><td>33</td><td>21</td><td>41</td></tr>
                <tr><td>100010</td><td>"</td><td>34</td><td>22</td><td>42</td></tr>
                <tr><td>100011</td><td>#</td><td>35</td><td>23</td><td>43</td></tr>
                <tr><td>100100</td><td>$</td><td>36</td><td>24</td><td>44</td></tr>
                <tr><td>100101</td><td>%</td><td>37</td><td>25</td><td>45</td></tr>
                <tr><td>100110</td><td>&</td><td>38</td><td>26</td><td>46</td></tr>
                <tr><td>100111</td><td>'</td><td>39</td><td>27</td><td>47</td></tr>
                <tr><td>101000</td><td>(</td><td>40</td><td>28</td><td>50</td></tr>
                <tr><td>101001</td><td>)</td><td>41</td><td>29</td><td>51</td></tr>
                <tr><td>101010</td><td>*</td><td>42</td><td>2A</td><td>52</td></tr>
                <tr><td>101011</td><td>+</td><td>43</td><td>2B</td><td>53</td></tr>
                <tr><td>101100</td><td>,</td><td>44</td><td>2C</td><td>54</td></tr>
                <tr><td>101101</td><td>-</td><td>45</td><td>2D</td><td>55</td></tr>
                <tr><td>101110</td><td>.</td><td>46</td><td>2E</td><td>56</td></tr>
                <tr><td>101111</td><td>/</td><td>47</td><td>2F</td><td>57</td></tr>
                <tr><td>110000</td><td>0</td><td>48</td><td>30</td><td>60</td></tr>
                <tr><td>110001</td><td>1</td><td>49</td><td>31</td><td>61</td></tr>
                <tr><td>110010</td><td>2</td><td>50</td><td>32</td><td>62</td></tr>
                <tr><td>110011</td><td>3</td><td>51</td><td>33</td><td>63</td></tr>
                <tr><td>110100</td><td>4</td><td>52</td><td>34</td><td>64</td></tr>
                <tr><td>110101</td><td>5</td><td>53</td><td>35</td><td>65</td></tr>
                <tr><td>110110</td><td>6</td><td>54</td><td>36</td><td>66</td></tr>
                <tr><td>110111</td><td>7</td><td>55</td><td>37</td><td>67</td></tr>
                <tr><td>111000</td><td>8</td><td>56</td><td>38</td><td>70</td></tr>
                <tr><td>111001</td><td>9</td><td>57</td><td>39</td><td>71</td></tr>
                <tr><td>111010</td><td>:</td><td>58</td><td>3A</td><td>72</td></tr>
                <tr><td>111011</td><td>;</td><td>59</td><td>3B</td><td>73</td></tr>
                <tr><td>111100</td><td><</td><td>60</td><td>3C</td><td>74</td></tr>
                <tr><td>111101</td><td>=</td><td>61</td><td>3D</td><td>75</td></tr>
                <tr><td>111110</td><td>></td><td>62</td><td>3E</td><td>76</td></tr>
                <tr><td>111111</td><td>?</td><td>63</td><td>3F</td><td>77</td></tr>
                <tr><td>1000000</td><td>@</td><td>64</td><td>40</td><td>100</td></tr>
                <tr><td>1000001</td><td>A</td><td>65</td><td>41</td><td>101</td></tr>
                <tr><td>1000010</td><td>B</td><td>66</td><td>42</td><td>102</td></tr>
                <tr><td>1000011</td><td>C</td><td>67</td><td>43</td><td>103</td></tr>
                <tr><td>1000100</td><td>D</td><td>68</td><td>44</td><td>104</td></tr>
                <tr><td>1000101</td><td>E</td><td>69</td><td>45</td><td>105</td></tr>
                <tr><td>1000110</td><td>F</td><td>70</td><td>46</td><td>106</td></tr>
                <tr><td>1000111</td><td>G</td><td>71</td><td>47</td><td>107</td></tr>
                <tr><td>1001000</td><td>H</td><td>72</td><td>48</td><td>110</td></tr>
                <tr><td>1001001</td><td>I</td><td>73</td><td>49</td><td>111</td></tr>
                <tr><td>1001010</td><td>J</td><td>74</td><td>4A</td><td>112</td></tr>
                <tr><td>1001011</td><td>K</td><td>75</td><td>4B</td><td>113</td></tr>
                <tr><td>1001100</td><td>L</td><td>76</td><td>4C</td><td>114</td></tr>
                <tr><td>1001101</td><td>M</td><td>77</td><td>4D</td><td>115</td></tr>
                <tr><td>1001110</td><td>N</td><td>78</td><td>4E</td><td>116</td></tr>
                <tr><td>1001111</td><td>O</td><td>79</td><td>4F</td><td>117</td></tr>
                <tr><td>1010000</td><td>P</td><td>80</td><td>50</td><td>120</td></tr>
                <tr><td>1010001</td><td>Q</td><td>81</td><td>51</td><td>121</td></tr>
                <tr><td>1010010</td><td>R</td><td>82</td><td>52</td><td>122</td></tr>
                <tr><td>1010011</td><td>S</td><td>83</td><td>53</td><td>123</td></tr>
                <tr><td>1010100</td><td>T</td><td>84</td><td>54</td><td>124</td></tr>
                <tr><td>1010101</td><td>U</td><td>85</td><td>55</td><td>125</td></tr>
                <tr><td>1010110</td><td>V</td><td>86</td><td>56</td><td>126</td></tr>
                <tr><td>1010111</td><td>W</td><td>87</td><td>57</td><td>127</td></tr>
                <tr><td>1011000</td><td>X</td><td>88</td><td>58</td><td>130</td></tr>
                <tr><td>1011001</td><td>Y</td><td>89</td><td>59</td><td>131</td></tr>
                <tr><td>1011010</td><td>Z</td><td>90</td><td>5A</td><td>132</td></tr>
                <tr><td>1011011</td><td>[</td><td>91</td><td>5B</td><td>133</td></tr>
                <tr><td>1011100</td><td>\</td><td>92</td><td>5C</td><td>134</td></tr>
                <tr><td>1011101</td><td>]</td><td>93</td><td>5D</td><td>135</td></tr>
                <tr><td>1011110</td><td>^</td><td>94</td><td>5E</td><td>136</td></tr>
                <tr><td>1011111</td><td>_</td><td>95</td><td>5F</td><td>137</td></tr>
                <tr><td>1100000</td><td>`</td><td>96</td><td>60</td><td>140</td></tr>
                <tr><td>1100001</td><td>a</td><td>97</td><td>61</td><td>141</td></tr>
                <tr><td>1100010</td><td>b</td><td>98</td><td>62</td><td>142</td></tr>
                <tr><td>1100011</td><td>c</td><td>99</td><td>63</td><td>143</td></tr>
                <tr><td>1100100</td><td>d</td><td>100</td><td>64</td><td>144</td></tr>
                <tr><td>1100101</td><td>e</td><td>101</td><td>65</td><td>145</td></tr>
                <tr><td>1100110</td><td>f</td><td>102</td><td>66</td><td>146</td></tr>
                <tr><td>1100111</td><td>g</td><td>103</td><td>67</td><td>147</td></tr>
                <tr><td>1101000</td><td>h</td><td>104</td><td>68</td><td>150</td></tr>
                <tr><td>1101001</td><td>i</td><td>105</td><td>69</td><td>151</td></tr>
                <tr><td>1101010</td><td>j</td><td>106</td><td>6A</td><td>152</td></tr>
                <tr><td>1101011</td><td>k</td><td>107</td><td>6B</td><td>153</td></tr>
                <tr><td>1101100</td><td>l</td><td>108</td><td>6C</td><td>154</td></tr>
                <tr><td>1101101</td><td>m</td><td>109</td><td>6D</td><td>155</td></tr>
                <tr><td>1101110</td><td>n</td><td>110</td><td>6E</td><td>156</td></tr>
                <tr><td>1101111</td><td>o</td><td>111</td><td>6F</td><td>157</td></tr>
                <tr><td>1110000</td><td>p</td><td>112</td><td>70</td><td>160</td></tr>
                <tr><td>1110001</td><td>q</td><td>113</td><td>71</td><td>161</td></tr>
                <tr><td>1110010</td><td>r</td><td>114</td><td>72</td><td>162</td></tr>
                <tr><td>1110011</td><td>s</td><td>115</td><td>73</td><td>163</td></tr>
                <tr><td>1110100</td><td>t</td><td>116</td><td>74</td><td>164</td></tr>
                <tr><td>1110101</td><td>u</td><td>117</td><td>75</td><td>165</td></tr>
                <tr><td>1110110</td><td>v</td><td>118</td><td>76</td><td>166</td></tr>
                <tr><td>1110111</td><td>w</td><td>119</td><td>77</td><td>167</td></tr>
                <tr><td>1111000</td><td>x</td><td>120</td><td>78</td><td>170</td></tr>
                <tr><td>1111001</td><td>y</td><td>121</td><td>79</td><td>171</td></tr>
                <tr><td>1111010</td><td>z</td><td>122</td><td>7A</td><td>172</td></tr>
                <tr><td>1111011</td><td>{</td><td>123</td><td>7B</td><td>173</td></tr>
                <tr><td>1111100</td><td>|</td><td>124</td><td>7C</td><td>174</td></tr>
                <tr><td>1111101</td><td>}</td><td>125</td><td>7D</td><td>175</td></tr>
                <tr><td>1111110</td><td>~</td><td>126</td><td>7E</td><td>176</td></tr>
                <tr><td>1111111</td><td>DEL</td><td>127</td><td>7F</td><td>177</td></tr>
                <tr><td>10000000</td><td> </td><td>128</td><td>80</td><td>200</td></tr>
                <tr><td>10000001</td><td> </td><td>129</td><td>81</td><td>201</td></tr>
                <tr><td>10000010</td><td> </td><td>130</td><td>82</td><td>202</td></tr>
                <tr><td>10000011</td><td> </td><td>131</td><td>83</td><td>203</td></tr>
                <tr><td>10000100</td><td> </td><td>132</td><td>84</td><td>204</td></tr>
                <tr><td>10000101</td><td> </td><td>133</td><td>85</td><td>205</td></tr>
                <tr><td>10000110</td><td> </td><td>134</td><td>86</td><td>206</td></tr>
                <tr><td>10000111</td><td> </td><td>135</td><td>87</td><td>207</td></tr>
                <tr><td>10001000</td><td> </td><td>136</td><td>88</td><td>210</td></tr>
                <tr><td>10001001</td><td> </td><td>137</td><td>89</td><td>211</td></tr>
                <tr><td>10001010</td><td> </td><td>138</td><td>8A</td><td>212</td></tr>
                <tr><td>10001011</td><td> </td><td>139</td><td>8B</td><td>213</td></tr>
                <tr><td>10001100</td><td> </td><td>140</td><td>8C</td><td>214</td></tr>
                <tr><td>10001101</td><td> </td><td>141</td><td>8D</td><td>215</td></tr>
                <tr><td>10001110</td><td> </td><td>142</td><td>8E</td><td>216</td></tr>
                <tr><td>10001111</td><td> </td><td>143</td><td>8F</td><td>217</td></tr>
                <tr><td>10010000</td><td> </td><td>144</td><td>90</td><td>220</td></tr>
                <tr><td>10010001</td><td> </td><td>145</td><td>91</td><td>221</td></tr>
                <tr><td>10010010</td><td> </td><td>146</td><td>92</td><td>222</td></tr>
                <tr><td>10010011</td><td> </td><td>147</td><td>93</td><td>223</td></tr>
                <tr><td>10010100</td><td> </td><td>148</td><td>94</td><td>224</td></tr>
                <tr><td>10010101</td><td> </td><td>149</td><td>95</td><td>225</td></tr>
                <tr><td>10010110</td><td> </td><td>150</td><td>96</td><td>226</td></tr>
                <tr><td>10010111</td><td> </td><td>151</td><td>97</td><td>227</td></tr>
                <tr><td>10011000</td><td> </td><td>152</td><td>98</td><td>230</td></tr>
                <tr><td>10011001</td><td> </td><td>153</td><td>99</td><td>231</td></tr>
                <tr><td>10011010</td><td> </td><td>154</td><td>9A</td><td>232</td></tr>
                <tr><td>10011011</td><td> </td><td>155</td><td>9B</td><td>233</td></tr>
                <tr><td>10011100</td><td> </td><td>156</td><td>9C</td><td>234</td></tr>
                <tr><td>10011101</td><td> </td><td>157</td><td>9D</td><td>235</td></tr>
                <tr><td>10011110</td><td> </td><td>158</td><td>9E</td><td>236</td></tr>
                <tr><td>10011111</td><td> </td><td>159</td><td>9F</td><td>237</td></tr>
                <tr><td>10100000</td><td> </td><td>160</td><td>A0</td><td>240</td></tr>
                <tr><td>10100001</td><td> </td><td>161</td><td>A1</td><td>241</td></tr>
                <tr><td>10100010</td><td> </td><td>162</td><td>A2</td><td>242</td></tr>
                <tr><td>10100011</td><td> </td><td>163</td><td>A3</td><td>243</td></tr>
                <tr><td>10100100</td><td> </td><td>164</td><td>A4</td><td>244</td></tr>
                <tr><td>10100101</td><td> </td><td>165</td><td>A5</td><td>245</td></tr>
                <tr><td>10100110</td><td> </td><td>166</td><td>A6</td><td>246</td></tr>
                <tr><td>10100111</td><td> </td><td>167</td><td>A7</td><td>247</td></tr>
                <tr><td>10101000</td><td> </td><td>168</td><td>A8</td><td>250</td></tr>
                <tr><td>10101001</td><td> </td><td>169</td><td>A9</td><td>251</td></tr>
                <tr><td>10101010</td><td> </td><td>170</td><td>AA</td><td>252</td></tr>
                <tr><td>10101011</td><td> </td><td>171</td><td>AB</td><td>253</td></tr>
                <tr><td>10101100</td><td> </td><td>172</td><td>AC</td><td>254</td></tr>
                <tr><td>10101101</td><td> </td><td>173</td><td>AD</td><td>255</td></tr>
                <tr><td>10101110</td><td> </td><td>174</td><td>AE</td><td>256</td></tr>
                <tr><td>10101111</td><td> </td><td>175</td><td>AF</td><td>257</td></tr>
                <tr><td>10110000</td><td> </td><td>176</td><td>B0</td><td>260</td></tr>
                <tr><td>10110001</td><td> </td><td>177</td><td>B1</td><td>261</td></tr>
                <tr><td>10110010</td><td> </td><td>178</td><td>B2</td><td>262</td></tr>
                <tr><td>10110011</td><td> </td><td>179</td><td>B3</td><td>263</td></tr>
                <tr><td>10110100</td><td> </td><td>180</td><td>B4</td><td>264</td></tr>
                <tr><td>10110101</td><td> </td><td>181</td><td>B5</td><td>265</td></tr>
                <tr><td>10110110</td><td> </td><td>182</td><td>B6</td><td>266</td></tr>
                <tr><td>10110111</td><td> </td><td>183</td><td>B7</td><td>267</td></tr>
                <tr><td>10111000</td><td> </td><td>184</td><td>B8</td><td>270</td></tr>
                <tr><td>10111001</td><td> </td><td>185</td><td>B9</td><td>271</td></tr>
                <tr><td>10111010</td><td> </td><td>186</td><td>BA</td><td>272</td></tr>
                <tr><td>10111011</td><td> </td><td>187</td><td>BB</td><td>273</td></tr>
                <tr><td>10111100</td><td> </td><td>188</td><td>BC</td><td>274</td></tr>
                <tr><td>10111101</td><td> </td><td>189</td><td>BD</td><td>275</td></tr>
                <tr><td>10111110</td><td> </td><td>190</td><td>BE</td><td>276</td></tr>
                <tr><td>10111111</td><td> </td><td>191</td><td>BF</td><td>277</td></tr>
                <tr><td>11000000</td><td> </td><td>192</td><td>C0</td><td>300</td></tr>
                <tr><td>11000001</td><td> </td><td>193</td><td>C1</td><td>301</td></tr>
                <tr><td>11000010</td><td> </td><td>194</td><td>C2</td><td>302</td></tr>
                <tr><td>11000011</td><td> </td><td>195</td><td>C3</td><td>303</td></tr>
                <tr><td>11000100</td><td> </td><td>196</td><td>C4</td><td>304</td></tr>
                <tr><td>11000101</td><td> </td><td>197</td><td>C5</td><td>305</td></tr>
                <tr><td>11000110</td><td> </td><td>198</td><td>C6</td><td>306</td></tr>
                <tr><td>11000111</td><td> </td><td>199</td><td>C7</td><td>307</td></tr>
                <tr><td>11001000</td><td> </td><td>200</td><td>C8</td><td>310</td></tr>
                <tr><td>11001001</td><td> </td><td>201</td><td>C9</td><td>311</td></tr>
                <tr><td>11001010</td><td> </td><td>202</td><td>CA</td><td>312</td></tr>
                <tr><td>11001011</td><td> </td><td>203</td><td>CB</td><td>313</td></tr>
                <tr><td>11001100</td><td> </td><td>204</td><td>CC</td><td>314</td></tr>
                <tr><td>11001101</td><td> </td><td>205</td><td>CD</td><td>315</td></tr>
                <tr><td>11001110</td><td> </td><td>206</td><td>CE</td><td>316</td></tr>
                <tr><td>11001111</td><td> </td><td>207</td><td>CF</td><td>317</td></tr>
                <tr><td>11010000</td><td> </td><td>208</td><td>D0</td><td>320</td></tr>
                <tr><td>11010001</td><td> </td><td>209</td><td>D1</td><td>321</td></tr>
                <tr><td>11010010</td><td> </td><td>210</td><td>D2</td><td>322</td></tr>
                <tr><td>11010011</td><td> </td><td>211</td><td>D3</td><td>323</td></tr>
                <tr><td>11010100</td><td> </td><td>212</td><td>D4</td><td>324</td></tr>
                <tr><td>11010101</td><td> </td><td>213</td><td>D5</td><td>325</td></tr>
                <tr><td>11010110</td><td> </td><td>214</td><td>D6</td><td>326</td></tr>
                <tr><td>11010111</td><td> </td><td>215</td><td>D7</td><td>327</td></tr>
                <tr><td>11011000</td><td> </td><td>216</td><td>D8</td><td>330</td></tr>
                <tr><td>11011001</td><td> </td><td>217</td><td>D9</td><td>331</td></tr>
                <tr><td>11011010</td><td> </td><td>218</td><td>DA</td><td>332</td></tr>
                <tr><td>11011011</td><td> </td><td>219</td><td>DB</td><td>333</td></tr>
                <tr><td>11011100</td><td> </td><td>220</td><td>DC</td><td>334</td></tr>
                <tr><td>11011101</td><td> </td><td>221</td><td>DD</td><td>335</td></tr>
                <tr><td>11011110</td><td> </td><td>222</td><td>DE</td><td>336</td></tr>
                <tr><td>11011111</td><td> </td><td>223</td><td>DF</td><td>337</td></tr>
                <tr><td>11100000</td><td> </td><td>224</td><td>E0</td><td>340</td></tr>
                <tr><td>11100001</td><td> </td><td>225</td><td>E1</td><td>341</td></tr>
                <tr><td>11100010</td><td> </td><td>226</td><td>E2</td><td>342</td></tr>
                <tr><td>11100011</td><td> </td><td>227</td><td>E3</td><td>343</td></tr>
                <tr><td>11100100</td><td> </td><td>228</td><td>E4</td><td>344</td></tr>
                <tr><td>11100101</td><td> </td><td>229</td><td>E5</td><td>345</td></tr>
                <tr><td>11100110</td><td> </td><td>230</td><td>E6</td><td>346</td></tr>
                <tr><td>11100111</td><td> </td><td>231</td><td>E7</td><td>347</td></tr>
                <tr><td>11101000</td><td> </td><td>232</td><td>E8</td><td>350</td></tr>
                <tr><td>11101001</td><td> </td><td>233</td><td>E9</td><td>351</td></tr>
                <tr><td>11101010</td><td> </td><td>234</td><td>EA</td><td>352</td></tr>
                <tr><td>11101011</td><td> </td><td>235</td><td>EB</td><td>353</td></tr>
                <tr><td>11101100</td><td> </td><td>236</td><td>EC</td><td>354</td></tr>
                <tr><td>11101101</td><td> </td><td>237</td><td>ED</td><td>355</td></tr>
                <tr><td>11101110</td><td> </td><td>238</td><td>EE</td><td>356</td></tr>
                <tr><td>11101111</td><td> </td><td>239</td><td>EF</td><td>357</td></tr>
                <tr><td>11110000</td><td> </td><td>240</td><td>F0</td><td>360</td></tr>
                <tr><td>11110001</td><td> </td><td>241</td><td>F1</td><td>361</td></tr>
                <tr><td>11110010</td><td> </td><td>242</td><td>F2</td><td>362</td></tr>
                <tr><td>11110011</td><td> </td><td>243</td><td>F3</td><td>363</td></tr>
                <tr><td>11110100</td><td> </td><td>244</td><td>F4</td><td>364</td></tr>
                <tr><td>11110101</td><td> </td><td>245</td><td>F5</td><td>365</td></tr>
                <tr><td>11110110</td><td> </td><td>246</td><td>F6</td><td>366</td></tr>
                <tr><td>11110111</td><td> </td><td>247</td><td>F7</td><td>367</td></tr>
                <tr><td>11111000</td><td> </td><td>248</td><td>F8</td><td>370</td></tr>
                <tr><td>11111001</td><td> </td><td>249</td><td>F9</td><td>371</td></tr>
                <tr><td>11111010</td><td> </td><td>250</td><td>FA</td><td>372</td></tr>
                <tr><td>11111011</td><td> </td><td>251</td><td>FB</td><td>373</td></tr>
                <tr><td>11111100</td><td> </td><td>252</td><td>FC</td><td>374</td></tr>
                <tr><td>11111101</td><td> </td><td>253</td><td>FD</td><td>375</td></tr>
                <tr><td>11111110</td><td> </td><td>254</td><td>FE</td><td>376</td></tr>
                <tr><td>11111111</td><td> </td><td>255</td><td>FF</td><td>377</td></tr>
            </div>
    </div>
</body>
</html>
				

CSS:

@import url('https://fonts.googleapis.com/css?family=Raleway');

body {
    margin:0;
    font-family: 'Raleway', sans-serif;
}
h3 {
    border-bottom:solid 1px #991; 
}
table th {
    background-color:#991; color:#fff;
}
table tr:nth-child(even) {
    background-color:#fff;
}

#main_wrapper {
    border:solid 1px #991; border-radius:4px;
    position:absolute; padding:20px; margin:5px;
    left:0vw; top:0vh;
    color:#991; font-size:13px;
    background-color:rgba(150,150,10,0.15);
}

#check_btn {
    outline:none; border:solid 1px #991; border-radius:4px;
    position:relative; background-color:rgba(225,10,150,0.5);
    color:white; padding:5px; font-weight:700;
}
#output {
    font-weight:700; font-size:12px; color:#fff;
    background-color:rgba(150,150,10,0.7); 
    padding:5px; width:100%;
    border-radius:4px;
}

#binary_validation {
    outline:none; text-decoration:none;
    border:solid 1px #991; border-radius:4px;
    width:100%; color:#991;
    padding:5px;
}
#source a {
    position:relative; margin:5px; padding:5px;
    top:-2vh; left:-2vw;
    outline:none; text-decoration:none;
    color:#991; border-bottom:solid 1px #991;
    font-size:10px; cursor:pointer;
}
#copy{
    font-size:10px; position:absolute;
    top:5px; left:70%;
    
}

#IBM_list {
    border:solid 1px #991; border-radius:4px;
    position:relative; padding:10px; margin-top:50px;
    color:#991; font-size:13px; font-weight:700;
    background-color:rgba(150,150,10,0.15);
}
				

Javascript:

window.onload=()=>{
    input=document.getElementById("binary_validation");
    input.addEventListener("keyup",(table,rows,filter,i,binary,ascii,result,invalid)=>{
        invalid=document.getElementById("invalid");
        table=document.getElementById("table");
        rows=table.getElementsByTagName("tr");
        filter=input.value;
        for (i=0; i<rows.length; i++){
            binary=rows[i].getElementsByTagName("td")[0];
            ascii=rows[i].getElementsByTagName("td")[1];
            if(binary&&ascii){
                result1=binary.textContent||binary.innerText;
                result2=ascii.textContent||ascii.innerText;
                if(result1.indexOf(filter) > -1 || result2.indexOf(filter) > -1){
                    rows[i].style.display="";
                    invalid.innerText=("");
                }else{
                    rows[i].style.display="none";
                }
            }
        }
    })
}
				


Place a comment related to this article

!

When u want to use a code block in your comment, you need to work with the <pre> and <code> tags.
You can specify the program language you want to use in the comment to assign the code tag class attribute with your program language name.
<pre>
  <code class="javascript">
   //_ Use lowercase phrase within the code tags class attribute:
   //_ C++ refered as cpp
   //_ C# refered as cs
   //_ Objective-C and C both refered as c
   //_ VB.net refered as vbnet
   //_ And so on...
  </code>
</pre>
Available program languages:
  • Access log
  • Apache
  • AutoIt
  • Arduino
  • Bash
  • C
  • C#
  • C++
  • CSS
  • CoffeeScript
  • HTML or XML
  • JSON
  • Java
  • JavaScript
  • Nginx
  • Objective-C
  • PHP
  • Perl
  • Python
  • Ruby
  • SQL
  • Swift
  • PowerShell
  • VB.net
We do not allow any direct type of links in the comment section.
Please format a link with with the following query:
domain dot com/?q=query
Thank you for understanding.


3248fsdf1283 Captcha


Back to Top