class_docstr: Here are some common low-level expressions that may be useful in
  jump-starting parser development:
  
  - numeric forms (:class:`integers<integer>`, :class:`reals<real>`,
    :class:`scientific notation<sci_real>`)
  - common :class:`programming identifiers<identifier>`
  - network addresses (:class:`MAC<mac_address>`,
    :class:`IPv4<ipv4_address>`, :class:`IPv6<ipv6_address>`)
  - ISO8601 :class:`dates<iso8601_date>` and
    :class:`datetime<iso8601_datetime>`
  - :class:`UUID<uuid>`
  - :class:`comma-separated list<comma_separated_list>`
  - :class:`url`
  
  Parse actions:
  
  - :class:`convert_to_integer`
  - :class:`convert_to_float`
  - :class:`convert_to_date`
  - :class:`convert_to_datetime`
  - :class:`strip_html_tags`
  - :class:`upcase_tokens`
  - :class:`downcase_tokens`
  
  Example::
  
      pyparsing_common.number.run_tests('''
          # any int or real number, returned as the appropriate type
          100
          -100
          +100
          3.14159
          6.02e23
          1e-12
          ''')
  
      pyparsing_common.fnumber.run_tests('''
          # any int or real number, returned as float
          100
          -100
          +100
          3.14159
          6.02e23
          1e-12
          ''')
  
      pyparsing_common.hex_integer.run_tests('''
          # hex numbers
          100
          FF
          ''')
  
      pyparsing_common.fraction.run_tests('''
          # fractions
          1/2
          -3/4
          ''')
  
      pyparsing_common.mixed_integer.run_tests('''
          # mixed fractions
          1
          1/2
          -3/4
          1-3/4
          ''')
  
      import uuid
      pyparsing_common.uuid.set_parse_action(token_map(uuid.UUID))
      pyparsing_common.uuid.run_tests('''
          # uuid
          12345678-1234-5678-1234-567812345678
          ''')
  
  prints::
  
      # any int or real number, returned as the appropriate type
      100
      [100]
  
      -100
      [-100]
  
      +100
      [100]
  
      3.14159
      [3.14159]
  
      6.02e23
      [6.02e+23]
  
      1e-12
      [1e-12]
  
      # any int or real number, returned as float
      100
      [100.0]
  
      -100
      [-100.0]
  
      +100
      [100.0]
  
      3.14159
      [3.14159]
  
      6.02e23
      [6.02e+23]
  
      1e-12
      [1e-12]
  
      # hex numbers
      100
      [256]
  
      FF
      [255]
  
      # fractions
      1/2
      [0.5]
  
      -3/4
      [-0.75]
  
      # mixed fractions
      1
      [1]
  
      1/2
      [0.5]
  
      -3/4
      [-0.75]
  
      1-3/4
      [1.75]
  
      # uuid
      12345678-1234-5678-1234-567812345678
      [UUID('12345678-1234-5678-1234-567812345678')]
docstr: Parse action to remove HTML tags from web page HTML source
  
  Example::
  
      # strip HTML links from normal text
      text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
      td, td_end = make_html_tags("TD")
      table_text = td + SkipTo(td_end).set_parse_action(pyparsing_common.strip_html_tags)("body") + td_end
      print(table_text.parse_string(text).body)
  
  Prints::
  
      More info at the pyparsing wiki page
docstr_tok: ["Parse","action","to","remove","HTML","tags","from","web","page","HTML","source","Example",":",":","#","strip","HTML","links","from","normal","text","text","=","'","<","td",">","More","info","at","the","<","a","href=","''","https",":","\/\/github.com\/pyparsing\/pyparsing\/wiki","''",">","pyparsing","<","\/a",">","wiki","page","<","\/td",">","'","td",",","td_end","=","make_html_tags","(","``","TD","''",")","table_text","=","td","+","SkipTo","(","td_end",")",".set_parse_action","(","pyparsing_common.strip_html_tags",")","(","``","body","''",")","+","td_end","print","(","table_text.parse_string","(","text",")",".body",")","Prints",":",":","More","info","at","the","pyparsing","wiki","page"]
code: def strip_html_tags(s: str, l: int, tokens: ParseResults):
      """Parse action to remove HTML tags from web page HTML source
  
      Example::
  
          # strip HTML links from normal text
          text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
          td, td_end = make_html_tags("TD")
          table_text = td + SkipTo(td_end).set_parse_action(pyparsing_common.strip_html_tags)("body") + td_end
          print(table_text.parse_string(text).body)
  
      Prints::
  
          More info at the pyparsing wiki page
      """
      return pyparsing_common._html_stripper.transform_string(tokens[0])
  
imports: from .core import *
  from .helpers import DelimitedList, any_open_tag, any_close_tag
  from datetime import datetime
label_desc: Use image node_id 3 for calling the pyparsing_common obj's underlying member method code with example usage: obj.strip_html_tags(s, l, tokens) and returns: pyparsing_common