<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Separate Numbers from Text in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420745#M83011</link>
    <description>&lt;P&gt;Hey team, I have an address field with the entire address in one cell, which looks like this one for example "15775 W California AVE ".&amp;nbsp; I'm trying to pull out just the number portion so I can join it to another table.&amp;nbsp; The format is inconsistent and some are 3 digits and some are 5 so its giving me more trouble than I was anticipating.&amp;nbsp; Anyone know of a way to do this with a calculated field?&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 21:40:09 GMT</pubDate>
    <dc:creator>ChrisMacNeillNCFPD</dc:creator>
    <dc:date>2024-05-08T21:40:09Z</dc:date>
    <item>
      <title>Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420745#M83011</link>
      <description>&lt;P&gt;Hey team, I have an address field with the entire address in one cell, which looks like this one for example "15775 W California AVE ".&amp;nbsp; I'm trying to pull out just the number portion so I can join it to another table.&amp;nbsp; The format is inconsistent and some are 3 digits and some are 5 so its giving me more trouble than I was anticipating.&amp;nbsp; Anyone know of a way to do this with a calculated field?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 21:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420745#M83011</guid>
      <dc:creator>ChrisMacNeillNCFPD</dc:creator>
      <dc:date>2024-05-08T21:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420748#M83012</link>
      <description>&lt;LI-CODE lang="python"&gt;a = "15775 W California AVE"

"".join([i for i in a.split(" ")[0] if i.isdigit])
'15775'  # for text output

int("".join([i for i in a.split(" ")[0] if i.isdigit]))
15775 # for integer output&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 May 2024 21:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420748#M83012</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-08T21:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420761#M83014</link>
      <description>&lt;P&gt;Awesome, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 22:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420761#M83014</guid>
      <dc:creator>ChrisMacNeillNCFPD</dc:creator>
      <dc:date>2024-05-08T22:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420769#M83016</link>
      <description>&lt;P&gt;Would I replace the actual address in line 1 with the field name? So in this case a = !Address!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 22:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420769#M83016</guid>
      <dc:creator>ChrisMacNeillNCFPD</dc:creator>
      <dc:date>2024-05-08T22:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420866#M83033</link>
      <description>&lt;P&gt;Yes, for field calculations.&amp;nbsp; In my example&amp;nbsp; a&amp;nbsp; would be replaced by !YourFieldName! ( !Address!, if that is the fieldname)&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 07:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1420866#M83033</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-09T07:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1422237#M83040</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;I've used this Python script/calculation before with success.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;!YourField!.split(' ')[0]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This separates the field at the first space, returning just the address number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 13:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1422237#M83040</guid>
      <dc:creator>JasonBagwell1</dc:creator>
      <dc:date>2024-05-09T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1424281#M83069</link>
      <description>&lt;P&gt;split works unless the number has a letter attached like, hence the rest of the code&lt;/P&gt;&lt;LI-CODE lang="python"&gt;15775a&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 May 2024 18:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1424281#M83069</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-09T18:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Numbers from Text</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1691606#M102439</link>
      <description>&lt;P&gt;How would you start this from the right side?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 22:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/separate-numbers-from-text/m-p/1691606#M102439</guid>
      <dc:creator>MeKohler</dc:creator>
      <dc:date>2026-03-19T22:21:02Z</dc:date>
    </item>
  </channel>
</rss>

