get unpaired tag from html

Inputs

  • html
  • unpaired tag

Outputs

  • first tag

Neuron type

Checked - ready to generate algorithm

Patterns

Pattern Input Output
1.
html: img: <img src="" /> example img
unpaired tag: img
first tag: <img src="" />
2.
html: <tag class="1" /> <tag class="2" />
unpaired tag: tag
first tag: <tag class="1" />
3.
html: <html></html>
unpaired tag: nameOfTag
first tag:

Applicable neurons

  • Connect - two inputs
  • Substring (startPosition, endPosition)
  • Substring (from start to position)
  • Substring (from position to end)
  • Get before substring
  • Connect - three inputs
  • Connect - four inputs
  • character <
  • character >
  • character /
  • Cut String At specific character
  • Contains string substring?
  • Rectangle - content
  • (a, b)
  • convert minutes and seconds into MM:SS
  • character s
  • {x,y}
  • character q

Algorithm

Algorithm doesn't exists


Rodokmen - poznejte své předky | TOPlist U.I., Umělá inteligence