Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fnValidarTablas(elemento){
- valores = elemento.split(">");
- tablas = []
- for (let indice = 0; indice < valores.length; indice++) {
- if(valores[indice].includes("<table") || valores[indice].includes("</table")){
- tablas.push(valores[indice]);
- }
- }
- for(etiquetas of tablas){
- console.log(etiquetas)
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement