Skip to content

dmitry-zharinov/CommonRegexABAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CommonRegexABAP

CommonRegex port for ABAP

Find a lot of kinds of common information in a string.

Pull requests welcome!

Please note that this is currently English/US specific.

Installation

Install this repository using abapGit.

API

Create an instance of class ZCL_COMMONREGEX and call one of the public methods:

  • get_dates()
  • get_times()
  • get_phones()
  • get_links()
  • get_emails()
  • get_ipv4()
  • get_ipv6() (currently in progress)
  • get_hex_colors()
  • get_acronyms()
  • get_money()
  • get_percentages()
  • get_credit_cards() (currently in progress)
  • get_addresses()
    DATA: l_text type string.
    ...
    mo_cut = NEW #( l_text ).

    DATA(lt_data) = mo_cut->get_dates().

About

CommonRegex port for ABAP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages