{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/es/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Extraer datos de texto"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"extraer-datos-de-texto","__idx":0},"children":["Extraer datos de texto"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tipo de nodo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_extractData"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"qué-hace","__idx":1},"children":["Qué hace"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Extrae una parte de un texto para que la use un paso posterior."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuración-en-el-cliente-de-escritorio","__idx":2},"children":["Configuración en el cliente de escritorio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/extract-data.75114a472379f54f9cde6a88190577be3aa18cbcdd270d305cfd7506f6aa2962.0538f3a9.webp","alt":"Configuración del nodo \"Extraer datos de texto\" en el cliente de escritorio"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Captura tomada en la interfaz en inglés de MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"entradas","__idx":3},"children":["Entradas"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Estos campos van en ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":["Campo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Obligatorio en el esquema"},"children":["Obligatorio en el esquema"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Valor predeterminado de ejecución"},"children":["Valor predeterminado de ejecución"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descripción y límites"},"children":["Descripción y límites"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variable de datos de origen"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reg"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Expresión regular"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notUpper"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ignorar mayúsculas y minúsculas. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onlyGetFirst"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Extraer solo el primer elemento. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requisitos-y-límites-por-modo","__idx":4},"children":["Requisitos y límites por modo"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Obligatorio: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reg"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["El cuerpo de la expresión regular no incluye los delimitadores /…/."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validación: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["content puede estar vacío. Un content que no es una cadena (número, booleano, objeto o array) se compara usando su texto o su texto JSON. reg es el cuerpo de la expresión regular, sin los delimitadores /…/."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validación: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"referencias-de-entrada","__idx":5},"children":["Referencias de entrada"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":["Campo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formas permitidas"},"children":["Formas permitidas"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reg"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notUpper"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onlyGetFirst"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"salidas","__idx":6},"children":["Salidas"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onlyGetFirst"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["match"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onlyGetFirst"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matches"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Haz referencia a los campos publicados como ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ejemplo-json","__idx":7},"children":["Ejemplo JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Un objeto de nodo completo para el array ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," de un flujo de trabajo o para los ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," de otro nodo. Lee ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["read_title.data.text"]},", la salida de un nodo \"Leer datos del elemento\" anterior."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"order_number\",\n  \"type\": \"browser_extractData\",\n  \"data\": {\n    \"title\": \"Extract the order number\",\n    \"browserAction\": \"extractData\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"content\": \"${read_title.data.text}\",\n        \"reg\": \"#(\\\\d+)\",\n        \"notUpper\": false,\n        \"onlyGetFirst\": true\n      },\n      \"exception\": {\n        \"timeout\": 30000,\n        \"policy\": \"interrupt\"\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/es/browser-rpa/nodes"},"children":["Volver al catálogo de nodos"]}]}]},"headings":[{"value":"Extraer datos de texto","id":"extraer-datos-de-texto","depth":1},{"value":"Qué hace","id":"qué-hace","depth":2},{"value":"Configuración en el cliente de escritorio","id":"configuración-en-el-cliente-de-escritorio","depth":2},{"value":"Entradas","id":"entradas","depth":2},{"value":"Requisitos y límites por modo","id":"requisitos-y-límites-por-modo","depth":2},{"value":"Referencias de entrada","id":"referencias-de-entrada","depth":2},{"value":"Salidas","id":"salidas","depth":2},{"value":"Ejemplo JSON","id":"ejemplo-json","depth":2}],"frontmatter":{"seo":{"title":"Extraer datos de texto"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/es/browser-rpa/nodes/data/extract-data","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}